android-listview Questions

3

Solved

I am using a SimpleCursorAdapter to populate an Android ListView, and was wondering how I should go about getting all of the timestamps I get from a database, each in "DATE_DATE" into human readabl...
Yevette asked 20/6, 2011 at 21:7

2

When I receive a lot of push messages (let's say 50) from GCM within 1 second I receive the following exception: java.lang.IllegalStateException: The content of the adapter has changed but List...
Boathouse asked 2/7, 2015 at 17:45

1

Solved

I'm trying to get the fast scroll pop up containing the large letter to appear when I the fast scroll feature in my list (just like in the image below), but for some reason it won't appear. I've co...
Danyelldanyelle asked 9/7, 2015 at 15:23

7

Solved

Got a little problem. I'd like to create an android list view activity with all items in the list having a fixed height. So, my item layout (thread_item.xml) looks like this: <?xml version="1....
Ruffled asked 30/4, 2012 at 17:22

2

Solved

I have ListView with text and large image from internet. My image item has fit width and wrap_content height. I tried to display image in background with UIL & Picasso. Both of them can work bu...

3

I want to create a chat activity in which user can send and receive messages. Sender messages on right in bubble with time stamp and received messages on left in buble with time stamp. What I have...
Chalcidice asked 8/1, 2015 at 10:18

5

Solved

I've been wasting too much time on this one so have to ask again. I've no idea why this is happening at all. I have an array adapter (aAdapter) and an array list (aList) and I'm trying to put a cl...
Savaii asked 10/1, 2012 at 17:36

4

Solved

I am developing the following screen The fourboxes next to each other are buttons. On clicking of the buttons I am changing the adapter of the listview. Since the content above the listview too...
Symposiarch asked 8/8, 2013 at 13:20

3

I want to show images from the resource directory (all of them are saved in png format) in my ListView, but it is extremely laggy. I am a complete noob so I need help with the asynchronous tasks to...

6

Solved

I made an app using contact sync. I list the following contact info with photo, name and number. I successfully list all those things in a custom ListView, but I can't click the ListView. It looks ...
Stammer asked 26/6, 2012 at 8:46

8

It is weirded because it happens only in some phones those resolution are FHD. When UI is shown, everything seems ok. When I click items and call notifyDataSetChanged(), item won't refresh it's lo...
Huntlee asked 4/6, 2015 at 2:54

4

Solved

I have one NavigationDrawer in my Application and I have five items in my drawer: Home Accounts stock help logout Now if user click on logout it is displaying two items: Home Login Now the ...

1

Solved

I'm faced with this problem java.lang.UnsupportedOperationException What I want to do is easy, I'll show you an example. MyList Blue Red Green When I make an OnItemLongClickListener() for ...

2

Solved

Working nicely with custom shape list items! Question 1: how can I work with custom shapes for list items? Question 2: how can I show which list item is selected? Question 3: how can I initial...
Misdemeanor asked 23/5, 2015 at 5:59

1

The way my app is set up is that I have a ListView, maintained by a CursorLoader, of posts made by the users. Each post has user comments that are associated with it. Each listitem has a custom tex...

0

I have multiple lists in my Android app, the activities that contain those (recycle) listviews also contain other content. Putting a listview below the content works fine without any custom modelli...

6

Solved

I know that android doesn't highlight anything in TouchMode. But I am doing something similar to the gmail application in which you select stuff from the left side and show details on the right sid...
Microlith asked 19/12, 2011 at 18:54

2

Solved

Actually I don't know how it properly called - overlay, parallax or slideUP, whatever, I have an Activity called "cafe details" which presents a Container(LinearLayout) with header information (nam...
Matrimony asked 22/5, 2015 at 12:42

2

Solved

I have created a layout with a ListView that updates values in it depending on which of the 2 given buttons are pressed. Pressing the button labelled Odds clears all values and adds odd numbers up ...
Miliaria asked 13/2, 2015 at 12:30

4

Solved

I have a simple listview for which I have defined a custom drawable for the divider. I have defined the divider height to be 1dp. The listview is within a fragment. <shape android:shape="line...

2

My ListView is inside PopupWindow. When i shown PopupWindow and click on Listview row in device ASUS K00z fonepad worke very well. But in HTC Z715e is not working (onitem click event not fired) ...

1

I am trying to create a ListView inside a Viewpager. ViewPager is using Fragements. So ListView is inside the Fragement. My Listview is not scrolling, although in Listview onitmclicked and ontouch ...

4

Solved

The Android version of Spotify has a unique ListView header effect when viewing an artist. Basically the header image appears to maintain it's own scrolling speed apart from the actual list. Does a...
Penrose asked 29/7, 2013 at 19:42

2

Solved

I have an array that is filled with API data, and I have an expandablelistview to show the items of that array, now what I'm trying to do is when the user clicks on an item it saves th ID of that i...

5

Solved

When I click on the list item in Android, I always get a blue background. Event if I use a custom layout, when I click, maybe 2-5dp space around my layout is blue. Also, the text views get darker. ...
Dominus asked 12/1, 2012 at 15:24

© 2022 - 2024 — McMap. All rights reserved.