Questions tagged as 'listview'

1
answer

How do I make a ListView with components next to the text in each row?

Several current Androids systems have menus like the example below: PleasenotethatanywhereItapmyblueareaunder"Access to my location" it turns the switch on and off and enables or disables the block under "Location Sources" and also does the...
asked by 16.07.2014 / 15:51
1
answer

Returning to the top of the screen when writing in the field

I have the following error: I have a list and a field, every time I edit any edit text from the list, it loses focus and goes to the top of the screen, note the gif that every letter of the word "test "edittext loses and gains focus, but the fir...
asked by 10.06.2015 / 15:05
1
answer

Capture the data corresponding to the index in the bank

I was able to feed my listview with SQLite data, however, I now want to capture the data (in the database) that each row in the listview matches. For example: Line 10 displays Code 1 and Name: Philip Line 13 displays Code 4 and Name: Giov...
asked by 13.01.2017 / 20:28
1
answer

Slide item to increment TextView

Is there a component that, when sliding an item from a ListView , increments a TextView on the item itself? As in the image below: Sliding to the right increments according to the value that shows TextView on the left....
asked by 05.12.2014 / 21:49
1
answer

Check click position on a ListView

I have a screen that has ListView inside it, I need to identify which line was clicked to point to the correct location. How can I do this?     
asked by 12.09.2016 / 13:47
1
answer

ListView too slow on scrollbar

I have a problem that I do not know how to solve, I have a custom% with_configure with images and the scroll bar keeps crashing even with the loaded list. The list is slow to roll. Adapter: public class AdapterSegmento extends BaseAdapter {...
asked by 02.12.2014 / 05:06
1
answer

How to ignore accents in ListView on Android?

I was making an application for me kind of in jest and I came across a problem, ListView of Android Studio does not ignore the Portuguese accents. Could anyone post a code, would you like to resolve this? Type the word search by ignori...
asked by 10.08.2015 / 21:23
1
answer

How to use a custom Adapter in the android ListFragment

Hello everyone, I'm having trouble using a custom Adapter and displaying this Adapter in a ListFragment . My Custom Adapter public class UsuariosAdapter extends BaseAdapter { Context ctx; List < Usuario > usuarios; p...
asked by 29.07.2015 / 16:40
1
answer

ExpandableList Custom

I'm new to Android, but with an ambitious project. I'm trying to make a% custom% with two ExpandableList on items and the one on the left needs to have the background changed as per customer satisfaction. ItturnsoutthatIjustcannotseem...
asked by 29.12.2015 / 16:23
1
answer

Problems with EditText in a listview

I'm trying to get my listview to hold the values placed in EditText , but every time I scroll I lose the data or it multiplies to other fields. Can anyone help? Below is my adapter : public class WorkoutAdapter extends Arra...
asked by 08.07.2015 / 02:06