-
public final class LoadStateAdapter extends LoadStateAdapter<LoadStateViewHolder>
-
-
Constructor Summary
Constructors Constructor Description LoadStateAdapter(PagingAdapter<?> adapter, LoadStateViewHolderBuilder loadStateViewHolderFactory)
-
Method Summary
Modifier and Type Method Description final LoadStategetLoadState()final UnitsetLoadState(LoadState loadState)UnitonBindViewHolder(LoadStateViewHolder holder, LoadState loadState)LoadStateViewHolderonCreateViewHolder(ViewGroup parent, LoadState loadState)-
Methods inherited from class app.moviebase.androidx.widget.recyclerview.paging3.LoadStateAdapter
displayLoadStateAsItem, getItemCount, getItemViewType, getStateViewType, onBindViewHolder, onCreateViewHolder -
Methods inherited from class androidx.paging.LoadStateAdapter
bindViewHolder, canRestoreState, createViewHolder, findRelativeAdapterPositionIn, getItemId, getStateRestorationPolicy, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, setStateRestorationPolicy, unregisterAdapterDataObserver -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LoadStateAdapter
LoadStateAdapter(PagingAdapter<?> adapter, LoadStateViewHolderBuilder loadStateViewHolderFactory)
-
-
Method Detail
-
getLoadState
final LoadState getLoadState()
-
setLoadState
final Unit setLoadState(LoadState loadState)
-
onBindViewHolder
Unit onBindViewHolder(LoadStateViewHolder holder, LoadState loadState)
-
onCreateViewHolder
LoadStateViewHolder onCreateViewHolder(ViewGroup parent, LoadState loadState)
-
-
-
-