Top "Android-adapter" questions

An Adapter object acts as a bridge between an AdapterView and the underlying data for that view.

Explanation of the getView() method of an ArrayAdapter

Could you explain the getView() method of an ArrayAdapter. I read the docs and it has three parameters: position: The …

java android android-listview android-arrayadapter android-adapter
Listview not getting populated, getView() isn't getting called

I'm having a few problems getting my listview to show up in a simple application i'm writing. For some reason …

android android-listview android-adapter
android notifyItemRangeInserted disable autoscroll

I'm using RecyclerView as the base for my data list. i've implemented custom RecyclerView.Adapter which is based on ArraList. …

android android-adapter android-recyclerview
Different row layouts in ListView

This post is related to this ViewHolder not working. On that post, I was following a tutorial on how to …

android android-layout android-listview android-adapter
RecyclerView does not update after removing an item

I have a RecyclerView horizontal image slider at the bottom of a fragment. The top of the fragment shows some …

android android-fragments android-adapter android-recyclerview
Fast taps (clicks) on RecyclerView opens multiple Fragments

I have implemented onClick listener to my ViewHolder for my RecyclerView But when I perform very fast double taps or …

android android-fragments onclicklistener android-recyclerview android-adapter
Android Data Binding : Observable List to RecyclerView's Adapter

Is their a way, by using the ObservableList class from the new Data Binding library and the MVVM pattern, to …

android mvvm data-binding android-recyclerview android-adapter
Switch in adapter for a ListView

I have a ListView with an adapter which layout has a Switch, so every item in the lists has a …

android listview android-adapter android-switch
How to use ButterKnife inside adapter

I would like to use ButterKnife to bind my views inside listView adpater. I tried this, but i can not …

android listview bind android-adapter butterknife
Force RecyclerView to call onCreateViewHolder

I have a RecyclerView that can show items as list, small grids or large grid and this can be change …

android android-adapter android-recyclerview