public static class

TextViewHolder.Creator

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

Class Overview

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

Summary

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

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

int getItemViewType()

Returns sg_text_view which is the itemViewType for the TextViewHolder.

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

Public Constructors

public TextViewHolder.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 Context
Returns
  • a ViewHolder that is applicable for the itemViewType this ItemViewHolderCreator represents

public int getItemViewType ()

Returns sg_text_view which is the itemViewType for the TextViewHolder.

Returns