vnorderui / com.venuenext.vnorderui.stands / StandsAdapter

StandsAdapter

class StandsAdapter : Adapter<StandsViewHolder>

StandsAdapter VenueNext

Created on 3/8/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Types

StandsViewHolder

class StandsViewHolder : ViewHolder

Constructors

<init>

StandsAdapter VenueNext

StandsAdapter(context: Context, viewModel: StandsViewModel)

Properties

context

val context: Context

viewModel

val viewModel: StandsViewModel

Functions

getItemCount

fun getItemCount(): Int

getItemId

fun getItemId(position: Int): Long

getItemViewType

fun getItemViewType(position: Int): Int

onBindViewHolder

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

onCreateViewHolder

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

setMenusList

fun setMenusList(menus: List<Menu>): Unit

setStandsList

fun setStandsList(stands: List<Stand>): Unit