Java Code Examples for com.chad.library.adapter.base.viewholder.BaseViewHolder#findView()

The following examples show how to use com.chad.library.adapter.base.viewholder.BaseViewHolder#findView() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CustomLoadMoreView.java    From BaseRecyclerViewAdapterHelper with MIT License 4 votes vote down vote up
@NotNull
@Override
public View getLoadingView(@NotNull BaseViewHolder holder) {
    return holder.findView(R.id.load_more_loading_view);
}
 
Example 2
Source File: CustomLoadMoreView.java    From BaseRecyclerViewAdapterHelper with MIT License 4 votes vote down vote up
@NotNull
@Override
public View getLoadComplete(@NotNull BaseViewHolder holder) {
    return holder.findView(R.id.load_more_load_complete_view);
}
 
Example 3
Source File: CustomLoadMoreView.java    From BaseRecyclerViewAdapterHelper with MIT License 4 votes vote down vote up
@NotNull
@Override
public View getLoadEndView(@NotNull BaseViewHolder holder) {
    return holder.findView(R.id.load_more_load_end_view);
}
 
Example 4
Source File: CustomLoadMoreView.java    From BaseRecyclerViewAdapterHelper with MIT License 4 votes vote down vote up
@NotNull
@Override
public View getLoadFailView(@NotNull BaseViewHolder holder) {
    return holder.findView(R.id.load_more_load_fail_view);
}