public static class

HiddenItemViewHolder.Creator

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

Class Overview

An ItemViewHolderCreator for the HiddenItemViewHolder. This is automatically registered with the ShinobiGridView by default with the itemViewType of sg_hidden_item_view.

Summary

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

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

int getItemViewType()

Returns sg_hidden_item_view which is the itemViewType for the HiddenItemViewHolder.

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

Public Constructors

public HiddenItemViewHolder.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_hidden_item_view which is the itemViewType for the HiddenItemViewHolder.

Returns