Can
11/17/2019, 2:20 PM@Model
class as a parameter for a compose function does not seem to work right now? 🤔Luca Nicoletti
11/17/2019, 3:23 PMCan
11/17/2019, 3:41 PMvalues
in my model with an empty array and fill it with something meaningful laterLuca Nicoletti
11/17/2019, 4:16 PMvalues = currentTimestampAsArray()
in the constructor?lateinit
and avoid calling currentTimestampAsArray
2 timesCan
11/17/2019, 4:24 PMvalues
in my constructor aka init
block should be perfectly fine, shouldn’t it?values
as lateinit
in this case since it’s never in an undefined state before my constructor finishesLuca Nicoletti
11/17/2019, 5:37 PMvalues = currentTimestampAsArray()
outside the launch
that was the problemCan
11/17/2019, 5:50 PMLuca Nicoletti
11/17/2019, 7:48 PMCan
11/17/2019, 9:11 PMLeland Richardson [G]
11/18/2019, 7:27 AMCan
11/18/2019, 8:08 AMLeland Richardson [G]
11/19/2019, 5:28 PM