Top "Adapter" questions

Use this tag for questions relating to the Adapter design pattern, one of the Gang of Four's structural design patterns.

Android: EfficientAdapter with two different Views

I'm using an extended version of BaseAdapter based on the EfficientAdapter example from the SDK demo samples. My data is …

java android listview view adapter
ClassCastException with ListView when executing notifyDataSetChanged

I have added a view to the header of listVivew, View TopSearch = (View) View.inflate(this, R.layout.search, null); …

listview header dataset adapter notify
When getItemCount and getItemViewType method get called in Recycler Adapter

I saw similar questions in stackoverflow but they doesn't give clear answers to my question. Don't mark it as duplicate …

android adapter android-recyclerview
JAXB: Isn't it possible to use an XmlAdapter without @XmlJavaTypeAdapter?

Can't I register a bunch of XmlAdapters to Marshaller|Unmarshaller so that I wouldn't need to specify @XmlJavaTypeAdapter on each …

java jaxb adapter
how to know from adapter if the item of ListView is visible or not?

I have an adapter that connected to ListView, e.g. mJournalAdapter = new JournalAdapter(); journalEntryList.setAdapter(mJournalAdapter); and I want to …

android listview adapter baseadapter
AlphabetIndexer with Custom Adapter managed by LoaderManager

I am trying to implement AlphabetIndexer with Custom Adapter like this AlphabetIndexer with Custom Adapter My class ContactsCursorAdapter extends SimpleCursorAdapter …

android adapter simplecursoradapter android-cursorloader android-loadermanager
A C++ iterator adapter which wraps and hides an inner iterator and converts the iterated type

Having toyed with this I suspect it isn't remotely possible, but I thought I'd ask the experts. I have the …

c++ templates iterator wrapper adapter
iterator adapter to iterate just the values in a map?

I'm just getting back into C++ after a couple of years of doing a lot of C#, and recently Objective …

c++ maps iterator adapter
"Adapter" or "adaptor"?

In programming, which spelling—adapter or adaptor—is standard or de facto standard? Is there a difference between them? In …

design-patterns adapter terminology
AutoCompleteTextView item selection programmatically

I have an autocomplete text view that is filled with cities from an sqlite database that calls an async task …

android adapter autocompletetextview