This commit is contained in:
Andrei Vereha 2021-10-24 11:12:25 +02:00
parent d1b2fa207c
commit 80de823bfa

View file

@ -257,16 +257,9 @@ class DashPodHistoryActivity : NoSplashAppCompatActivity() {
} }
inner class HistoryViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { inner class HistoryViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
val timeView: TextView = itemView.findViewById<TextView>(R.id.omnipod_history_time)
val timeView: TextView val typeView: TextView = itemView.findViewById<TextView>(R.id.omnipod_history_source)
val typeView: TextView val valueView: TextView = itemView.findViewById<TextView>(R.id.omnipod_history_description)
val valueView: TextView
init {
timeView = itemView.findViewById<TextView>(R.id.omnipod_history_time)
typeView = itemView.findViewById<TextView>(R.id.omnipod_history_source)
valueView = itemView.findViewById<TextView>(R.id.omnipod_history_description)
}
} }
} }