class MyOrdersAdapter : Adapter<VNViewHolder>, OnClickListener
MyOrdersAdapter VenueNext
Created on 6/10/19. Copyright © 2019 VenueNext Inc. All rights reserved.
<init> |
MyOrdersAdapter VenueNext MyOrdersAdapter(context: Context, viewModel: MyOrdersViewModel, delegate: MyOrdersDelegate) |
context |
val context: Context |
delegate |
val delegate: MyOrdersDelegate |
recyclerViewItems |
var recyclerViewItems: List<Any>? |
viewModel |
val viewModel: MyOrdersViewModel |
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 |