public class

CustomColorModeDialogFragment.PresetRecyclerAdapter

extends SimpleRecyclerViewAdapter<T, VH extends ViewHolder>
java.lang.Object
   ↳
     ↳ com.pdftron.pdf.widget.recyclerview.SimpleRecyclerViewAdapter<T, VH extends RecyclerView.ViewHolder>
       ↳ com.pdftron.pdf.dialog.CustomColorModeDialogFragment.PresetRecyclerAdapter

Class Overview

A Recycler view adapter of preset custom color modes

Summary

Public Methods
int getItemCount()
Gets preset custom color mode count
int getItemViewType(int position)
void onBindViewHolder(RecyclerView.ViewHolder holder, int position)
RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
[Expand]
Inherited Methods
From class com.pdftron.pdf.widget.recyclerview.SimpleRecyclerViewAdapter
From class java.lang.Object

Public Methods

public int getItemCount ()

Gets preset custom color mode count

Returns
  • preset custom color mode size + 1

public int getItemViewType (int position)

public void onBindViewHolder (RecyclerView.ViewHolder holder, int position)

public RecyclerView.ViewHolder onCreateViewHolder (ViewGroup parent, int viewType)