-
- All Implemented Interfaces:
-
app.moviebase.androidx.widget.recyclerview.adapter.ItemAdapter,app.moviebase.androidx.widget.recyclerview.adapter.RecyclerViewAdapterBase,app.moviebase.androidx.widget.recyclerview.glide.GlideItemAdapter,app.moviebase.androidx.widget.recyclerview.glide.GlideRecyclerAdapter,com.bumptech.glide.ListPreloader.PreloadModelProvider
@Deprecated(message = use the native solution with ListAdapter, replaceWith = @ReplaceWith(imports = {app.moviebase.androidx.widget.recyclerview.adapter.ListAdapter}, expression = ListAdapter)) public final class ListRecyclerViewAdapter<T extends Object> extends AbstractListRecyclerAdapter<T> implements GlideRecyclerAdapter<T>
Use ListAdapter if only a list without additional features is necessary.
-
-
Field Summary
Fields Modifier and Type Field Description private final GlideConfig<T>glideConfigprivate List<T>dataprivate final BooleanisDataValidprivate final <ERROR CLASS>selectionprivate final RecyclerAdapterConfig<T>configprivate final ViewPreloadSizeProvider<T>preloadProviderprivate final RequestManagerrequests
-
Constructor Summary
Constructors Constructor Description ListRecyclerViewAdapter(RecyclerAdapterConfig<T> config, GlideConfig<T> glideConfig)
-
Method Summary
Modifier and Type Method Description GlideConfig<T>getGlideConfig()final List<T>getData()final UnitsetData(List<T> data)final BooleangetIsDataValid()final <ERROR CLASS>getSelection()final RecyclerAdapterConfig<T>getConfig()ViewPreloadSizeProvider<T>getPreloadProvider()RequestManagergetRequests()-
Methods inherited from class app.moviebase.androidx.widget.recyclerview.adapter.ListRecyclerViewAdapter
addData, getItem, getItemBy, getItemCount, getItemId, getItemViewType, onBindViewHolder, onBindViewHolder, onCreateViewHolder, onViewRecycled, remove, removeAt, setData, setFilter, swapPosition, updateData -
Methods inherited from class app.moviebase.androidx.widget.recyclerview.adapter.AbstractListRecyclerAdapter
bindViewHolder, canRestoreState, createViewHolder, findRelativeAdapterPositionIn, getStateRestorationPolicy, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBind, onBindFooter, onClear, onCreate, onCreateFooter, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, registerAdapterDataObserver, setHasStableIds, setStateRestorationPolicy, unregisterAdapterDataObserver, useFooter, useHeader -
Methods inherited from class app.moviebase.androidx.widget.recyclerview.glide.GlideRecyclerAdapter
getPreloadItems, getPreloadRequestBuilder -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ListRecyclerViewAdapter
ListRecyclerViewAdapter(RecyclerAdapterConfig<T> config, GlideConfig<T> glideConfig)
-
-
Method Detail
-
getGlideConfig
GlideConfig<T> getGlideConfig()
-
getIsDataValid
final Boolean getIsDataValid()
-
getSelection
final <ERROR CLASS> getSelection()
-
getConfig
final RecyclerAdapterConfig<T> getConfig()
-
getPreloadProvider
ViewPreloadSizeProvider<T> getPreloadProvider()
-
getRequests
RequestManager getRequests()
-
-
-
-