-
public abstract class BaseNodeProvider extends BaseItemProvider<BaseNode>
-
-
Constructor Summary
Constructors Constructor Description BaseNodeProvider()
-
Method Summary
Modifier and Type Method Description final ContextgetContext()final UnitsetContext(Context context)abstract IntegergetItemViewType()abstract IntegergetLayoutId()BaseNodeAdaptergetAdapter()-
Methods inherited from class com.chad.library.adapter.base.provider.BaseNodeProvider
addChildClickViewIds, addChildLongClickViewIds, convert, convert, getChildClickViewIds, getChildLongClickViewIds, onChildClick, onChildLongClick, onClick, onCreateViewHolder, onLongClick, onViewAttachedToWindow, onViewDetachedFromWindow, onViewHolderCreated -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getContext
final Context getContext()
-
setContext
final Unit setContext(Context context)
-
getItemViewType
abstract Integer getItemViewType()
-
getLayoutId
@LayoutRes() abstract Integer getLayoutId()
-
getAdapter
BaseNodeAdapter getAdapter()
-
-
-
-