Top "Android-arrayadapter" questions

A concrete BaseAdapter that is backed by an array of arbitrary objects.

Is it okay to change a ListView's adapter dynamically?

Instead of creating multiple activities, I would like to change the ArrayAdapter of the ListView as needed. I don't see …

android listview android-arrayadapter listadapter
v.getTag() returns null instead of ViewHolder

I have a customized adapter that has a header and customized rows. Sometimes my v.getTag() returns null where I …

android android-arrayadapter
How to add object at the beginning of the list in ArrayAdapter?

ArrayAdapter has method add(T object) which add an object at the end of a list. Is there a way …

android android-arrayadapter
ListView Not Updating After Filtering

I have a ListView (with setTextFilterEnabled(true)) and a custom adapter (extends ArrayAdapter) which I update from the main UI …

android listview filter filtering android-arrayadapter
Which Adapter to Use - BaseAdapter or ArrayAdapter?

I have a JSON string with the multiple instances of the following Name Message Timestamp Profile photo url I want …

android listview android-arrayadapter baseadapter
Unresolved Reference getResources() Kotlin

So I am trying to access the getResources() in my code, but for some reason it keeps getting an unresolved …

android kotlin android-arrayadapter custom-arrayadapter
Is ArrayAdapter thread safe in android? If not, what can I do to make it thread safe?

Lets say I extend ArrayAdapter and in the code where I am overriding getView(int i, View v, ViewGroup g), …

android multithreading android-arrayadapter
Disappearing divider in ListView when ArrayAdapter.isEnabled returns false

I'm using ListActivity with my own ArrayAdapter class. When I override the methods ArrayAdapter.areAllItemsEnabled() and ArrayAdapter.isEnabled() the divider …

android user-interface listview android-arrayadapter
Context menu in list activity

I have list activity with custom array adapter and I can't to get context menu when make long press on …

android listview contextmenu listactivity android-arrayadapter
How do you activate checkmarks in list activity?

I have a ListActivity with an array adapter declared like arrayAdapter = new ArrayAdapter<String> (this, android.R.layout.…

android listactivity android-arrayadapter checkmark