public static class

HeaderTextViewHolder.Creator

extends Object
implements ItemViewHolderCreator
java.lang.Object
   ↳ com.shinobicontrols.grids.supplement.HeaderTextViewHolder.Creator

Class Overview

An ItemViewHolderCreator for the HeaderTextViewHolder. This is automatically registered with the ShinobiGridView by default.

Summary

Public Constructors
Creator()
Public Methods
RecyclerView.ViewHolder createItemViewHolder(ViewGroup parent)

Creates a ViewHolder that is applicable for the itemViewType this ItemViewHolderCreator represents.

int getItemViewType()

Returns sg_header_text_view which is the itemViewType for the HeaderTextViewHolder.

[Expand]
Inherited Methods
From class java.lang.Object
From interface com.shinobicontrols.grids.core.ItemViewHolderCreator

Public Constructors

public Creator ()

Public Methods

public RecyclerView.ViewHolder createItemViewHolder (ViewGroup parent)

Creates a ViewHolder that is applicable for the itemViewType this ItemViewHolderCreator represents.

Parameters
parent the parent ViewGroup of the item view; this provides access to the current android.content.Context
Returns
  • a ViewHolder that is applicable for the itemViewType this ItemViewHolderCreator represents

public int getItemViewType ()

Returns sg_header_text_view which is the itemViewType for the HeaderTextViewHolder.

Returns