View on GitHub

optical_graph_recognition_mobApp

Mobile application for optical graph recognition

app / com.pzpg.ogr.library / MyItemGraphRecyclerViewAdapter

MyItemGraphRecyclerViewAdapter

class MyItemGraphRecyclerViewAdapter : Adapter<ViewHolder>

RecyclerView.Adapter that can display a ListItem. TODO: Replace the implementation with code for your data type.

Types

Name Summary
OnItemListener interface OnItemListener
ViewHolder inner class ViewHolder : ViewHolder, OnClickListener

Constructors

Name Summary
<init> RecyclerView.Adapter that can display a ListItem. TODO: Replace the implementation with code for your data type.MyItemGraphRecyclerViewAdapter(values: List<ListItem>, onItemListener: OnItemListener)

Properties

Name Summary
mOnItemListener var mOnItemListener: OnItemListener

Functions

Name Summary
getItemCount fun getItemCount(): Int
onBindViewHolder fun onBindViewHolder(holder: ViewHolder, position: Int): Unit
onCreateViewHolder fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder