android-listview Questions

1

Solved

I have a sparse array of values which I want to populate in a Spinner, and when the item is selected, I want to get the id (which is the key from the sparse array). What is the preferred way of c...

3

Solved

I've created a simple app to illustrate a change in how LinearLayout behaves when wrapped in a RelativeLayout between SDK 17 and SDK 18. First, screenshots: When targetSdkVersion is "17": When ...

1

Solved

I am trying to populate a ListView with data from a web service using Retrofit, but my ListView is somehow always empty. I am getting the data from the web service fine, it just isn't getting into ...
Loleta asked 3/2, 2014 at 3:3

2

Solved

Is it possible to have a visibility listener on each listview's item? Like: on user sees the item, do something. On item is hidden, do something else. I want to check when a item "enters" or "exit...

1

Solved

I want background of a list item to work like a progress bar. For example, like in tTorrent file list: This is how it is done now: I use a relativelayout and two linearlyouts. One has textviews a...

2

Solved

In the new GMail app you can slide out the list of folders from the left side. I'd like to learn how this is done, and know if this is a feature of the Android SDK or did Google implement a custom...
Lefton asked 7/6, 2013 at 15:41

4

guys I got a problem with my listview. It runs so slow when scrolling can anybody help me. My listview is custom layout using relative with 3 textview and 1 imageview each row with all content is ...
Megalith asked 22/12, 2010 at 7:32

2

Solved

I got a list view for navigation drawer, how can I put list item like "Add Friends", "Settings" align at the bottom of the list view. Update 1 I add a setting view to the footer view. View set...
Echopraxia asked 3/10, 2013 at 10:11

2

Solved

I would like to change the expanded and default icon of my Expandable List View. I did some research how to do this and found this question. I think I did it just as it is described there. I have ...
Tbilisi asked 8/9, 2013 at 14:37

2

Solved

I'm setting up my app so that people can create groups of their friends. When a group is created, it writes 2 tables to the SQL database. The first table has a group name and a group id. The second...

3

Solved

My app is using landscape full screen mode and the navigation drawer. I am using listView in my app along with an edittext. The edittext is the search bar that will search the listview. Both the li...
Splotch asked 23/1, 2014 at 11:57

4

Solved

Is there an easy way to display a ListView in reverse order? I am trying to create a conversation-based app, and would like the most recent entries to be at the bottom of the ListView. I am aware o...
Vaporization asked 7/6, 2012 at 23:38

2

I m using an expandable listview. i given setOnChildClickListener inside the onceate method, but the setOnChildClickListener is not working, i was searching for the solution in SO but i cannot find...
Carthage asked 17/10, 2013 at 11:10

2

Solved

How to create a tabview, I have gone through many blogs in which they specify that tabview widget is depreciated from lv 8 but i need to create a layout which i have attached below. Can anyone guid...

2

I got a FragmentTabHost with 5 tabs and a fragment in each one. One of the fragments contains a ListView. If I push an Activity to the stack and return, the ListView remains the same. If i change t...
Breughel asked 17/1, 2014 at 2:2

3

Solved

I have a ListView containing certain items and I have placed a EditText above the list to provide the Search facility to the user, means, by typing inside the EditText and clicking any button etc.,...
Unintelligent asked 16/1, 2014 at 13:11

2

Solved

I'm trying to program an activity that show a viewpager with some images and listview below with some data .. but my problem is that I can scroll only the listview on the last part of the screen I ...
Technetium asked 13/6, 2013 at 12:36

1

Solved

I have design a Drawer Layout which contains some options on a list(basically menu name and an icon). But i am not able to make the list view on the vertical center of the Drawer Layout. Here is my...
Bluebeard asked 13/1, 2014 at 18:38

2

Solved

I am unable to get Toast message as onItemClick is never called. Log-cat doesn't show any error. Please check out my code and correct me, if I am going wrong anywhere. I have used array adapter. p...
Bergen asked 5/3, 2013 at 5:1

11

How to make the ListView transparent in android? The background android screen image should be visible.
Hindgut asked 4/9, 2009 at 5:11

3

I am trying to build basic android app using ExpandableListView. After putting data into view I only see the groups, if I click on groups they don't expand. Here is my code, can someone please hel...

2

Solved

I have a ListView with custom list adapter. It has OnItemClickListener and OnItemLongClickListner which used to work fine. After then, I had to put a button in the layout of list item and the item ...

4

Solved

I would like to implement a swipe gesture to delete rows in a ListView similar to the android notifications. Right now all I have is a ListView with an onTouchListener - that said, I already have ...

4

I've been following some Android development tutorials on Udemy, which have been very helpful, but now I've run into an issue with the tutors code. Not sure if this is because of an updated SDK or ...
Homebred asked 4/1, 2014 at 14:10

3

Solved

I'm suffering from the same issue as this question: Wrong item checked when filtering ListView in android As suggested in the above question, I have an Hashset holding all the selectedIds, but I c...
Axseed asked 24/10, 2011 at 11:8

© 2022 - 2024 — McMap. All rights reserved.