Questions tagged as 'listview'

1
answer

How to keep fixed the color of the selected item

Adding the listener to Listview through the setOnItemClickListener method, each time you click on one of your items, it changes color momentarily. Is there any way to keep this color fixed on the item that is clicked?     
asked by 10.07.2015 / 16:57
1
answer

First element in listView does not appear

I have a listView that lists through an adapter. The list is updated after a search in SQLite. The problem is that it only appears from the second element of my table .... could anyone help me? Adapter: public class ItemListHistoryAdapter e...
asked by 02.07.2015 / 15:01
2
answers

Error generating custom Listview

Hello, I'm trying to implement a custom ListView on Android, but I'm not getting it. It's something simple, I've done it before, but I can not see where I'm wrong. Adapter_Bluetooth.xml : <?xml version="1.0" encoding="utf-8"?&...
asked by 06.08.2015 / 15:56
1
answer

Manipulating buttons on items in a list

Personal I have a problem on my list. In my list it is the same as the image below: ThearrowsshouldincreasethenumberofgoalsofthecorrespondingtextView,butthisisnotthecase.RegardlessoftheitemIclickedonthearrowstheincreasedvalueisalwaysthatof...
asked by 11.11.2014 / 20:38
2
answers

Updating values in a ListView

I add values that are within 3 arrays in hashMap to insert in listview : ArrayList<HashMap<String, String>> lista = new ArrayList<HashMap<String,String>>(); for(int i=0; i<tema.length; i++ )...
asked by 06.02.2014 / 18:07
2
answers

How to make an object in the ListView have an absolute position?

I have a listView with several items, I also have a searchView to make a filter on these items, being "clickable", starting another Activity. The problem is that the numbering of lisView items changes according to what I search in searchView....
asked by 30.12.2016 / 05:01
2
answers

Command button does not work inside ListView Xamarin Forms MVVM

I'm trying to create a button with the Command event inside a ListView in MVVM , but it's not falling on the event in ViewModel . How can I make this button Command access your method in ViewModel ? And also...
asked by 26.12.2016 / 14:32
1
answer

Open new screen with clicked user options

I have a listView and I put all users in the database, I use a adapterView to get the position and id, but I do not know how I will open a new screen for the advanced options for each user. follow the code protected void onCreate(Bundle sav...
asked by 16.12.2016 / 19:40
1
answer

How to Popular a Listview, and Popular Another Listview by Primary Key?

I have two ListViews that I need to use LINQ to SQL (C #, WPF project) in a search field. When typing in the textbox field the KeyDown event will populate the first ListView (1), as the second has a column that is the Primary Key of the first, I...
asked by 25.06.2016 / 22:14
1
answer

How do I make a ListView update a title at the top, as I scroll the scroll?

I do not know how to explain very well what I want without images, but I need to learn how to make a ListView that changes title as you go down ... It's basically like in HTML when you make long pages and separate the sections by an anchor, wher...
asked by 31.10.2014 / 13:45