vnorderui / com.venuenext.vnorderui.stands / ModifiersAdapter

ModifiersAdapter

class ModifiersAdapter : ArrayAdapter<ModifierGroup>

ModifiersAdapter VenueNext

Created on 4/2/19. Copyright © 2019 VenueNext Inc. All rights reserved.

Types

ModifierViewHolder

class ModifierViewHolder

Constructors

<init>

ModifiersAdapter VenueNext

ModifiersAdapter(delegate: AddToCartDelegate, modifierGroups: List<ModifierGroup>, viewModel: AddToCartViewModel, standsViewModel: StandsViewModel, fragmentManager: FragmentManager, context: Context)

Properties

delegate

val delegate: AddToCartDelegate

firstErrorIndex

var firstErrorIndex: Int

fragmentManager

val fragmentManager: FragmentManager

hasErrors

var hasErrors: Boolean

MAX_QUANTITY

val MAX_QUANTITY: Int

modifierGroups

val modifierGroups: List<ModifierGroup>

standsViewModel

val standsViewModel: StandsViewModel

viewModel

val viewModel: AddToCartViewModel

Functions

getCount

fun getCount(): Int

getItem

fun getItem(location: Int): ModifierGroup

getItemId

fun getItemId(position: Int): Long

getItemViewType

fun getItemViewType(position: Int): Int

getView

fun getView(position: Int, view: View?, viewGroup: ViewGroup): View

getViewTypeCount

fun getViewTypeCount(): Int