BlockRecyclerViewHelper.Adapter

public class BlockRecyclerViewHelper.Adapter extends

Adapts Blocks in list into BlockGroups inside {@Link FrameLayout}.

Public Constructor Summary

Public Method Summary

int
int
getItemViewType(int position)
void
onBindViewHolder(BlockRecyclerViewHelper.BlockViewHolder holder, int position)
BlockRecyclerViewHelper.BlockViewHolder
onCreateViewHolder(ViewGroup parent, int viewType)
void
onViewRecycled(BlockRecyclerViewHelper.BlockViewHolder holder)

Inherited Method Summary

Public Constructors

public BlockRecyclerViewHelper.Adapter ()

Public Methods

public int getItemCount ()

public int getItemViewType (int position)

Parameters
position

public void onBindViewHolder (BlockRecyclerViewHelper.BlockViewHolder holder, int position)

Parameters
holder
position

public BlockRecyclerViewHelper.BlockViewHolder onCreateViewHolder (ViewGroup parent, int viewType)

Parameters
parent
viewType

public void onViewRecycled (BlockRecyclerViewHelper.BlockViewHolder holder)

Parameters
holder