Binding Recycler View Adapter
abstract class BindingRecyclerViewAdapter<T : RecyclerView.ViewHolder> : RecyclerView.Adapter<T> , BindingObservable
Content copied to clipboard
Author
skydoves (Jaewoong Eum)
A RecyclerView.Adapter that provides a way in which UI can be notified of changes. We can register an observable property using androidx.databinding.Bindable annotation and bindingProperty delegates. The getter for an observable property should be annotated with androidx.databinding.Bindable.
Constructors
BindingRecyclerViewAdapter
Link copied to clipboard
fun BindingRecyclerViewAdapter()
Content copied to clipboard
Functions
addOnPropertyChangedCallback
Link copied to clipboard
open override fun addOnPropertyChangedCallback(callback: Observable.OnPropertyChangedCallback?)
Content copied to clipboard
bindViewHolder
Link copied to clipboard
createViewHolder
Link copied to clipboard
getItemCount
Link copied to clipboard
getItemViewType
Link copied to clipboard
hasObservers
Link copied to clipboard
hasStableIds
Link copied to clipboard
notifyChanged
Link copied to clipboard
open override fun notifyChanged()
Content copied to clipboard
notifyDataSetChanged
Link copied to clipboard
fun notifyDataSetChanged()
Content copied to clipboard
notifyItemChanged
Link copied to clipboard
notifyItemInserted
Link copied to clipboard
notifyItemMoved
Link copied to clipboard
notifyItemRangeChanged
Link copied to clipboard
notifyItemRangeInserted
Link copied to clipboard
notifyItemRangeRemoved
Link copied to clipboard
notifyItemRemoved
Link copied to clipboard
notifyPropertyChanged
Link copied to clipboard
onAttachedToRecyclerView
Link copied to clipboard
onBindViewHolder
Link copied to clipboard
open fun onBindViewHolder(@NonNull() p0: T, p1: Int, @NonNull() p2: MutableList<Any>)
Content copied to clipboard
onCreateViewHolder
Link copied to clipboard
onDetachedFromRecyclerView
Link copied to clipboard
onFailedToRecycleView
Link copied to clipboard
onViewAttachedToWindow
Link copied to clipboard
onViewDetachedFromWindow
Link copied to clipboard
onViewRecycled
Link copied to clipboard
registerAdapterDataObserver
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull() p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard
removeOnPropertyChangedCallback
Link copied to clipboard
open override fun removeOnPropertyChangedCallback(callback: Observable.OnPropertyChangedCallback?)
Content copied to clipboard
setHasStableIds
Link copied to clipboard
unregisterAdapterDataObserver
Link copied to clipboard
open fun unregisterAdapterDataObserver(@NonNull() p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard