MultipleRowLayoutsRecyclerView icon indicating copy to clipboard operation
MultipleRowLayoutsRecyclerView copied to clipboard

This short example shows how to use different row layouts for RecyclerView

MultipleRowLayoutsRecyclerView

This short example shows how to use different row layouts for RecyclerView

If you want to use different types of row layouts you must to implement next method in adapter:

@Override
public int getItemViewType(int position) {
    ...
}

Article: http://alexzh.com/tutorials/multiple-row-layouts-using-recyclerview/