# BaseAdapter

public class BaseAdapter<T>

## Constructors

BaseAdapter
Link copied to clipboard
public void BaseAdapter()
public void BaseAdapter(IViewProviderListener<T> listener, ProviderManager<T> providerManager)

## Types

OnItemClickListener
Link copied to clipboard
public interface OnItemClickListener

## Functions

add
Link copied to clipboard
public void add(T t)
addFootView
Link copied to clipboard
public void addFootView(View view)
addHeaderView
Link copied to clipboard
public void addHeaderView(View view)
getData
Link copied to clipboard
public List<T> getData()
getFootersCount
Link copied to clipboard
public int getFootersCount()
getHeadersCount
Link copied to clipboard
public int getHeadersCount()
getItem
Link copied to clipboard
public T getItem(int position)
getItemCount
Link copied to clipboard
public int getItemCount()
getItemViewType
Link copied to clipboard
public int getItemViewType(int position)
onAttachedToRecyclerView
Link copied to clipboard
public void onAttachedToRecyclerView(RecyclerView recyclerView)
onBindViewHolder
Link copied to clipboard
public void onBindViewHolder(ViewHolder holder, int position)
onCreateViewHolder
Link copied to clipboard
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
onViewAttachedToWindow
Link copied to clipboard
public void onViewAttachedToWindow(ViewHolder holder)
remove
Link copied to clipboard
public void remove(T t)
setDataCollection
Link copied to clipboard
public void setDataCollection(List<T> data)
setEmptyView
Link copied to clipboard
public void setEmptyView(View view)
public void setEmptyView(int emptyId)
setItemClickListener
Link copied to clipboard
public void setItemClickListener(BaseAdapter.OnItemClickListener listener)