public static abstract class

CollectionView.CollectionViewAdapter

extends RecyclerView.Adapter<VH extends RecyclerView.ViewHolder>
java.lang.Object
   ↳ android.support.v7.widget.RecyclerView.Adapter<VH extends android.support.v7.widget.RecyclerView.ViewHolder>
     ↳ com.sap.cloud.mobile.fiori.object.CollectionView.CollectionViewAdapter

Class Overview

CollectionViewAdapter is subtype of SectionedRecyclerViewAdapter class written to create CollectionViewItem, allow users to bind the required CollectionView with correct data.

Summary

Nested Classes
class CollectionView.CollectionViewAdapter.CollectionViewItemHolder  
Public Constructors
CollectionViewAdapter()
Public Methods
void onAttachedToRecyclerView(RecyclerView recyclerView)
final CollectionView.CollectionViewAdapter.CollectionViewItemHolder onCreateViewHolder(ViewGroup viewGroup, int i)
void onDetachedFromRecyclerView(RecyclerView recyclerView)
void onViewRecycled(CollectionView.CollectionViewAdapter.CollectionViewItemHolder holder)
void setDetailPlaceHolderIcon(int detailPlaceHolderIcon)
Set the default place holder for icon
Protected Methods
void reset(CollectionView.CollectionViewAdapter.CollectionViewItemHolder holder)
Reset the item in the holder to defaults.
[Expand]
Inherited Methods
From class android.support.v7.widget.RecyclerView.Adapter
From class java.lang.Object

Public Constructors

public CollectionViewAdapter ()

Public Methods

public void onAttachedToRecyclerView (RecyclerView recyclerView)

public final CollectionView.CollectionViewAdapter.CollectionViewItemHolder onCreateViewHolder (ViewGroup viewGroup, int i)

public void onDetachedFromRecyclerView (RecyclerView recyclerView)

public void setDetailPlaceHolderIcon (int detailPlaceHolderIcon)

Set the default place holder for icon

Protected Methods

protected void reset (CollectionView.CollectionViewAdapter.CollectionViewItemHolder holder)

Reset the item in the holder to defaults.