# ListComponent

public final class ListComponent

## Constructors

ListComponent
Link copied to clipboard
public void ListComponent(Context context)
public void ListComponent(Context context, AttributeSet attrs)
public void ListComponent(Context context, AttributeSet attrs, int defStyleAttr)

## Properties

recyclerView
Link copied to clipboard
public RecyclerView recyclerView
refreshLayout
Link copied to clipboard
public SmartRefreshLayout refreshLayout

## Functions

finishLoadMore
Link copied to clipboard
public void finishLoadMore()
finishRefresh
Link copied to clipboard
public void finishRefresh()
getRecyclerView
Link copied to clipboard
public RecyclerView getRecyclerView()
getRefreshLayout
Link copied to clipboard
public SmartRefreshLayout getRefreshLayout()
setAdapter
Link copied to clipboard
public void setAdapter(Adapter adapter)
setEnableLoadMore
Link copied to clipboard
public void setEnableLoadMore(boolean enable)
setEnableRefresh
Link copied to clipboard
public void setEnableRefresh(boolean enable)
setOnLoadMoreListener
Link copied to clipboard
public void setOnLoadMoreListener(OnLoadMoreListener listener)
setOnRefreshListener
Link copied to clipboard
public void setOnRefreshListener(OnRefreshListener listener)
setRefreshFooter
Link copied to clipboard
public void setRefreshFooter(RefreshFooter footer)
setRefreshHeader
Link copied to clipboard
public void setRefreshHeader(RefreshHeader header)