android-arrayadapter
Disappearing divider in ListView when ArrayAdapter.isEnabled returns false
I\'m using ListActivity with my own ArrayAdapter class. When I override the method开发者_运维知识库s ArrayAdapter.areAllItemsEnabled() and ArrayAdapter.isEnabled() the divider between some cells in th[详细]
2023-02-17 21:54 分类:问答Android: Spinner with changing ArrayAdapter - how to identify?
I want to have three Spinners with contents which depend on each other. E.g. Spinner1 displays {item1, item2} and Spinner2 either {item3, item4} or {item5, item6} depending on whether item1 or item2[详细]
2023-02-17 16:26 分类:问答android: How to populate a spinner with a string[] which is a list of installed packages?
final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);[详细]
2023-02-17 03:58 分类:问答ArrayAdapter: What is the best way to approach creating an ArrayAdapter that would display the text from the toString() method of a custom type?
I was going to create an ArrayList of GPS coordinates that are saved in a custom object. I then want to display a list of these GPS coordinates. My current solution is to create a parallel ArrayList o[详细]
2023-02-16 08:58 分类:问答How can I get the position of the item within a listview when I click on a specific view?
As the title says I want to know the exact position of the item when I click on a view that is inside the item.[详细]
2023-02-15 08:39 分类:问答Overriding Android ArrayAdapter
I want to do a very simple thing. I have a listview in my application which I dynamically add text to. But, after a certain point, I would like to change the color of the text inside the listview. So,[详细]
2023-02-14 17:34 分类:问答ListView with complex items, how to know the state of items?
I have LinearLayout: <LinearLayout xmlns:android= \"http://schemas.android.com/apk/res/android\" android:layout_width= \"fill_parent\"[详细]
2023-02-14 05:51 分类:问答Android Development - Using an ArrayList<String> vs an array of strings with ArrayAdapter
I am new to Android development, and I had a question about an excerpt I read in Commonsware\'s \"The Busy Coder\'s Guide to Android Development\".There is an example where it is constructing a class[详细]
2023-02-06 10:44 分类:问答AutoCompleteTextView, ArrayAdapter and notifyDataSetChanged()
I\'m using an AutoCompleteTextView with an ArrayAdapter which works like supposed. The problem is, that I have to change the Array 开发者_开发百科with the Autocomplete-Values. Calling notifyDataSetCh[详细]
2023-02-04 15:48 分类:问答How dos the setListAdapter(Arrayadaper) works for listView?
I made a listview with 3 columns by overriding the getView() method. I extended the class Arrayadaper for my own class and than used that for setListAdapter(Myclass). But i don\'t really understand ho[详细]
2023-02-03 11:22 分类:问答
加载中,请稍侯......