-
public final class QuickAdapterHelper.BuilderBuilder 通过 "向前加载"、"向后加载"、主要内容Adapter,构建 QuickAdapterHelper
-
-
Constructor Summary
Constructors Constructor Description QuickAdapterHelper.Builder(BaseQuickAdapter<?, ?> contentAdapter)Create empty Builder
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>setTrailingLoadStateAdapter(TrailingLoadStateAdapter<?> loadStateAdapter)尾部"加载更多"Adapter final <ERROR CLASS>setTrailingLoadStateAdapter(TrailingLoadStateAdapter.OnTrailingListener loadMoreListener)final <ERROR CLASS>setLeadingLoadStateAdapter(LeadingLoadStateAdapter<?> loadStateAdapter)首部"加载更多"Adapter final <ERROR CLASS>setLeadingLoadStateAdapter(LeadingLoadStateAdapter.OnLeadingListener loadListener)final <ERROR CLASS>setConfig(ConcatAdapter.Config config)设置 ConcatAdapter 的配置 final QuickAdapterHelperbuild()-
-
Constructor Detail
-
QuickAdapterHelper.Builder
QuickAdapterHelper.Builder(BaseQuickAdapter<?, ?> contentAdapter)
Create empty Builder
-
-
Method Detail
-
setTrailingLoadStateAdapter
final <ERROR CLASS> setTrailingLoadStateAdapter(TrailingLoadStateAdapter<?> loadStateAdapter)
尾部"加载更多"Adapter
- Parameters:
loadStateAdapter- LoadStateAdapter<*>?
-
setTrailingLoadStateAdapter
final <ERROR CLASS> setTrailingLoadStateAdapter(TrailingLoadStateAdapter.OnTrailingListener loadMoreListener)
-
setLeadingLoadStateAdapter
final <ERROR CLASS> setLeadingLoadStateAdapter(LeadingLoadStateAdapter<?> loadStateAdapter)
首部"加载更多"Adapter
-
setLeadingLoadStateAdapter
final <ERROR CLASS> setLeadingLoadStateAdapter(LeadingLoadStateAdapter.OnLeadingListener loadListener)
-
setConfig
final <ERROR CLASS> setConfig(ConcatAdapter.Config config)
设置 ConcatAdapter 的配置
-
build
final QuickAdapterHelper build()
-
-
-
-