TwoClocks
08/26/2020, 1:02 AMserebit
08/26/2020, 1:06 AMprivate lateinit var
and (public) val
accessor could do it.TwoClocks
08/26/2020, 1:09 AMserebit
08/26/2020, 1:10 AMlateinit var
. It's not ideal, but so long as it isn't accessible outside the scope of the class, it shouldn't be a problem. Maybe add a comment saying it shouldn't be re-initialized.TwoClocks
08/26/2020, 1:11 AMNir
08/26/2020, 2:20 AMNir
08/26/2020, 2:20 AMNir
08/26/2020, 2:21 AMNir
08/26/2020, 2:21 AMNir
08/26/2020, 2:22 AMJoe
08/26/2020, 4:38 AMlazy
delegate could work?