Package 

Class BaseAdapter

  • All Implemented Interfaces:
    com.chad.library.adapter.base.BaseQuickAdapterModuleImp , com.chad.library.adapter.base.listener.BaseListenerImp

    
    public abstract class BaseAdapter<T extends Object>
    extends OLAdapter<ViewDataBinding, T>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit convertFull(ViewDataBinding binding, BaseViewHolder holder, T item)
      abstract Unit bind(BaseViewHolder holder, T item)
      • Methods inherited from class com.sunst.ol.ba.OLAdapter

        getLayoutId, setLayoutId
      • Methods inherited from class com.chad.library.adapter.base.BaseQuickAdapter

        addChildClickViewIds, addChildLongClickViewIds, addData, addData, addData, addData, addFooterView, addHeaderView, getAdapterAnimation, getAnimationEnable, getChildClickViewIds, getChildLongClickViewIds, getContext, getData, getDiffHelper, getDiffer, getDraggableModule, getEmptyLayout, getFooterLayout, getFooterLayoutCount, getFooterViewAsFlow, getFooterViewPosition, getFooterWithEmptyEnable, getHeaderLayout, getHeaderLayoutCount, getHeaderViewAsFlow, getHeaderViewPosition, getHeaderWithEmptyEnable, getItem, getItemCount, getItemId, getItemOrNull, getItemPosition, getItemViewType, getLoadMoreModule, getOnItemChildClickListener, getOnItemChildLongClickListener, getOnItemClickListener, getOnItemLongClickListener, getRecyclerView, getUpFetchModule, getViewByPosition, getWeakRecyclerView, hasEmptyView, hasFooterLayout, hasHeaderLayout, isAnimationFirstOnly, isUseEmpty, onAttachedToRecyclerView, onBindViewHolder, onBindViewHolder, onCreateViewHolder, onDetachedFromRecyclerView, onViewAttachedToWindow, remove, remove, removeAllFooterView, removeAllHeaderView, removeAt, removeEmptyView, removeFooterView, removeHeaderView, replaceData, setAdapterAnimation, setAnimationEnable, setAnimationFirstOnly, setAnimationWithDefault, setData, setDiffCallback, setDiffConfig, setDiffNewData, setDiffNewData, setEmptyView, setEmptyView, setFooterView, setFooterViewAsFlow, setFooterWithEmptyEnable, setGridSpanSizeLookup, setHeaderView, setHeaderViewAsFlow, setHeaderWithEmptyEnable, setList, setNewData, setNewInstance, setOnItemChildClickListener, setOnItemChildLongClickListener, setOnItemClickListener, setOnItemLongClickListener, setRecyclerView, setUseEmpty, setWeakRecyclerView
      • Methods inherited from class com.chad.library.adapter.base.BaseQuickAdapterModuleImp

        addDraggableModule, addLoadMoreModule, addUpFetchModule
      • Methods inherited from class androidx.recyclerview.widget.RecyclerView.Adapter

        bindViewHolder, createViewHolder, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onFailedToRecycleView, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseAdapter

        BaseAdapter(Integer layoutResId, List<T> data)
    • Method Detail

      • convertFull

         Unit convertFull(ViewDataBinding binding, BaseViewHolder holder, T item)
      • bind

         abstract Unit bind(BaseViewHolder holder, T item)