android-listview
ListView "onPopulate" Listener?
I want to set an initial scrolled position to a ListView. I thought I could do that by calling list.setSelectionFromTop after adapter.notifyDataSetInvalidated, but of course the later only notifies t[详细]
2023-04-02 15:27 分类:问答Launching a ListActivity from another Activity
I am creating an application that saves GPS coordinates; I have created a button which launches a new Activity to display, as a list all the save coordinates. The program crashes a soon as I hit the b[详细]
2023-04-02 15:06 分类:问答Android listview Items and menu
In my android application I have a listview that displaying user contacts. I need to implement a option menu that has a menu item Name \"Add to favourites\" which will add the selected contact from th[详细]
2023-04-02 14:43 分类:问答ListFragment OnListItemClick not being called
I have a class that extends ListFragment, and it overrides the OnListItemClick method. I am also doing this in another ListFragment the same way (and the method gets called). I am wondering why the me[详细]
2023-04-02 00:42 分类:问答Android Expandable List - OnClickListener
I\'m having trouble with setting an OnClickListener to list items in my ExpandableListActivity. The code structure matches the following example:[详细]
2023-04-01 22:53 分类:问答Content of ListView takes to much memory
The ListView contains rather many items(20 or more), and each of them is an ImageViewwith a bitmap source. These bitmaps are not compressed and have size about 640x480. When the ListView is just loade[详细]
2023-04-01 21:14 分类:问答Android: What to do if performance of ListView is still not enough?
Well this topic was and still is debated really a lot and I already read many tutorials, hints and saw talks about it. But I still have problems with my implementation of a custom BaseAdapter for a Li[详细]
2023-04-01 20:06 分类:问答Retrieving Original HashMap from a SimpleAdapter/ListView on Item Press
I have a SimpleAdapter that populates a ListView, but when the user presses an item I\'d like to be able to get the original HashMap that was used to populate the row that was clicked. Unfortunately i[详细]
2023-04-01 17:17 分类:问答Image Viewnot working properly in list view
i am tryin开发者_StackOverflow社区g to implement list view that has one click-able image View in each row, for this I have created custom Adapter and override all its methods. Now my problem is that[详细]
2023-04-01 16:27 分类:问答Android: Buttons in compound control interfering with ListView's ContextMenu
The problem I\'ve been having here is that the 2 buttons in the list item xml seems to be interfering with the ContextMenu in the main activity, preventing it from inflating when a list item is long-p[详细]
2023-04-01 12:35 分类:问答