vnorderui / com.venuenext.vnorderui.myorders / MyOrdersAdapter

MyOrdersAdapter

class MyOrdersAdapter : Adapter<VNViewHolder>, OnClickListener

MyOrdersAdapter VenueNext

Created on 6/10/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Constructors

<init>

MyOrdersAdapter VenueNext

MyOrdersAdapter(context: Context, viewModel: MyOrdersViewModel, delegate: MyOrdersDelegate)

Properties

context

val context: Context

delegate

val delegate: MyOrdersDelegate

recyclerViewItems

var recyclerViewItems: List<Any>?

viewModel

val viewModel: MyOrdersViewModel

Functions

getItemCount

fun getItemCount(): Int

getItemViewType

fun getItemViewType(position: Int): Int

onBindViewHolder

fun onBindViewHolder(holder: VNViewHolder, position: Int): Unit

onClick

fun onClick(v: View?): Unit

onCreateViewHolder

fun onCreateViewHolder(parent: ViewGroup, viewType: Int): VNViewHolder