java.lang.Object | ||
↳ | ||
↳ | com.pdftron.demo.navigation.adapter.ContentRecyclerAdapter |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | ContentRecyclerAdapter.ContentInfoKey | ||||||||||
class | ContentRecyclerAdapter.ItemViewHolder |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | VIEW_TYPE_ACTION | ||||||||||
int | VIEW_TYPE_BUTTON | ||||||||||
int | VIEW_TYPE_CONTENT | ||||||||||
int | VIEW_TYPE_DIVIDER | ||||||||||
int | VIEW_TYPE_HEADER | ||||||||||
int | VIEW_TYPE_SPACER |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ContentRecyclerAdapter(Context context, JsonArray jsonItems, int buttonColor, int accentColor) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | getItemCount() | ||||||||||
long | getItemId(int position) | ||||||||||
int | getItemViewType(int position) | ||||||||||
void | onAttachedToRecyclerView(RecyclerView recyclerView) | ||||||||||
void | onBindViewHolder(ContentRecyclerAdapter.ItemViewHolder holder, int position) | ||||||||||
ContentRecyclerAdapter.ItemViewHolder | onCreateViewHolder(ViewGroup parent, int viewType) | ||||||||||
void | onDetachedFromRecyclerView(RecyclerView recyclerView) | ||||||||||
void | setOnItemClickListener(ItemClickHelper.OnItemClickListener listener) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|