inner class CarparkViewHolder : ViewHolder, OnClickListener
Inner class to store the carpark in
Author
Kenneth Soh
Since
2019-09-17
<init> |
Creates a view holder to hold the view required for RecyclerView CarparkViewHolder(v: View, listener: OnClickListener?) |
cpObj |
CarPark? Carpark Object var cpObj: CarPark? |
description |
TextView Carpark ID/Distance var description: TextView |
distance |
Float Distance from gym var distance: Float |
lots |
var lots: TextView |
lotsPic |
var lotsPic: ImageView |
title |
TextView Carpark Address var title: TextView |
onClick |
Default onclick handler fun onClick(p0: View?): Unit |