class ExperienceMenuAdapter : Adapter<VNViewHolder>
ExperienceMenuAdapter VenueNext
Adapter used for the Event Menu recycler screen.
delegate
- Created on 6/25/19.
Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
ExperienceMenuAdapter VenueNext ExperienceMenuAdapter(viewModel: MenuViewModel, delegate: ExperienceMenuDelegate, userIsSTH: Boolean, userIsPCH: Boolean) |
recyclerViewItems |
var recyclerViewItems: List<Any>? |
getItemCount |
fun getItemCount(): Int |
getItemViewType |
fun getItemViewType(position: Int): Int |
listen |
fun <T : ViewHolder> T.listen(event: (position: Int, type: Int) -> Unit): T |
onBindViewHolder |
fun onBindViewHolder(holder: VNViewHolder, position: Int): Unit |
onCreateViewHolder |
fun onCreateViewHolder(parent: ViewGroup, viewType: Int): VNViewHolder |