listview Questions

12

Solved

In my app, if you click on a button then i want to remove all the listview items. Here, i am using the base adapter for adding the items to the list view. How can i remove the listview items dyna...
Pepsinogen asked 13/9, 2011 at 10:37

9

I'm trying to smoothly scroll to last element of a list after adding an element to the arrayadapter associated with the listview. The problem is that it just scrolls to a random position arrayadap...

5

Solved

I have my JavaFX 2.0 application, where i need to make some action, after user clicked an item in ListView element. To construct user GUI i'm using FXML, in which i have something like this: <...
Caliber asked 15/3, 2012 at 15:0

41

Solved

I am using a ListView to display some images and captions associated with those images. I am getting the images from the Internet. Is there a way to lazy load images so while the text displays, the...
Varicella asked 12/2, 2009 at 15:59

8

Solved

I have a WPF ListView (GridView) and the cell template contains a TextBlock. If I add: TextTrimming="CharacterEllipsis" TextWrapping="NoWrap" on the TextBlock, an ellipsis will appear at the end of...
Reformation asked 4/3, 2009 at 22:34

4

Solved

I'm trying to make an event page for an app where user can view events that have a banner image and some other useful information. I really like the idea of implementing a SliverAppBar with the ban...
Enliven asked 3/11, 2020 at 0:18

2

Solved

I am web developer , working on a part of my project developed in WinForms. So my question could be a basic one. Try to bear with it. I have two list views on my page and a remove button that work...
Caernarvonshire asked 26/9, 2012 at 7:17

1

Solved

I have a Stack containing first a ListView, then a transparent Widget with a GestureDetector to click on it. Everything works fine but when I put the mouse inside the GestureDetector I can't scroll...
Waistcloth asked 16/8, 2021 at 15:37

2

Solved

How to extend listview (or recyclerview) set top bottom gradient fade alpha? EDIT: issue: xml layout: <RelativeLayout> <ImageView /> // background image example: my_image.png ...
Demetri asked 13/10, 2017 at 2:30

6

Solved

How to pass Collections like ArrayList, etc from one Activity to another as we used to pass Strings, int with help of putExtra method of Intent? Can anyone please help me as i want to pass a List&...
Winebaum asked 5/7, 2012 at 8:45

3

I have created a ListView whose children consist of a single EditText. However, when I click on the EditText, giving it focus, then notifyDataSetChanged(), updating the ListView, then click on any ...
Emboly asked 31/3, 2014 at 22:18

6

I have a ListView in WPF that is resizing my entire application window whenever I add items to it. I have the ListView size bound to the grid it is in, which is bound to the window size. So when th...
Sal asked 26/6, 2010 at 22:48

4

Solved

I put a ListView in the middle row of a View. The view is contained in a window that has SizeToContent set to WidthAndHeight. The ListView is initially empty, but the underlying ViewModel fills thi...
Natant asked 12/9, 2010 at 12:48

6

Solved

How to auto scroll down in ListView control when update new item? I have tried listView1.Focus(); listView1.Items[listView1.Items.Count - 1].Selected = true; but this not working.
Debauchery asked 6/1, 2010 at 16:9

3

I have a Xamarin.Forms xaml page in which I am using a ListView to allow the user to pick a single item out of a list. I have bound the ListView's SelectedItem property to a property on my ViewMode...
Tetrachloride asked 10/9, 2015 at 7:12

1

I am struggling with this Chat Screen. The app is meant to ask questions (not part of the below code) and the user either selects answers or types them. When the user types a first answer everythin...
Hyetology asked 20/7, 2021 at 13:34

7

I am using a ListView control to display some lines of data. There is a background task which receives external updates to the content of the list. The newly received data may contain less, more or...
Reinareinald asked 8/1, 2014 at 12:55

3

Solved

I have a RecyclerView which have EditText as its list items. When i scroll the RecyclerView, the EditText loses focus when the item goes off screen. So the focus does not remain on the EditText whe...
Parmer asked 21/7, 2017 at 13:29

5

Solved

I want to change the position of the default arrow that appears in the Group view of the ExpandableListView. I want it to be to the right instead of being to the left. how can this be done ?
Jetport asked 27/2, 2011 at 10:37

5

Solved

I have an activity with ListView . Displaying the TextView in each list item. Switching the properties of selected position using these methods EditText#setTextIsSelectable , EditText#setEllipsize ...
Driggers asked 6/5, 2016 at 7:42

3

Solved

As I'm not processing the items in a ListView based on what a user may select (the processing always uses everything in the list), I want to disallow the selecting of an item which may make the use...
Sticker asked 28/9, 2012 at 21:40

12

Solved

I have a ListView that uses a customized adapter, but I can't click on the ListView Item .. Activity for list view .. package com.adhamenaya.projects; import java.util.ArrayList; import android...
Southerland asked 21/1, 2012 at 17:59

54

Solved

I have an Activity in Android, with two elements: EditText ListView When my Activity starts, the EditText immediately has the input focus (flashing cursor). I don't want any control to have input...

3

Solved

I'm using a listView based on itemTemplate. So i need in my template to alternate the background color : - fist row: white - second row:gray - third row: white - forth: gray this is my templa...
Hypophysis asked 9/10, 2012 at 8:59

3

I have a ViewPager with 3 fragments; in my main Activity I handle onPageChangeListener: private class CustomPageChangeListener extends ViewPager.SimpleOnPageChangeListener{ @Override public voi...
Judicature asked 5/6, 2014 at 22:34

© 2022 - 2024 — McMap. All rights reserved.