Logbook event date edit

This commit is contained in:
2025-04-23 08:58:32 +02:00
parent 4c5c7bcf1a
commit 0d3be20e1e
6 changed files with 47 additions and 37 deletions

View File

@@ -14,13 +14,14 @@ import utils.NumericUtils
class LunaEventRecyclerAdapter: RecyclerView.Adapter<LunaEventRecyclerAdapter.LunaEventVH> {
private val context: Context
val items = ArrayList<LunaEvent>()
private val items: ArrayList<LunaEvent>
val numericUtils: NumericUtils
var onItemClickListener: OnItemClickListener? = null
val layoutRes: Int
constructor(context: Context) {
constructor(context: Context, items: ArrayList<LunaEvent>) {
this.context = context
this.items = items
this.numericUtils = NumericUtils(context)
val fontScale = context.resources.configuration.fontScale