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 PMCan
11/17/2019, 3:41 PMCan
11/17/2019, 3:42 PMCan
11/17/2019, 3:42 PMCan
11/17/2019, 3:43 PMCan
11/17/2019, 3:43 PMCan
11/17/2019, 3:44 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?Luca Nicoletti
11/17/2019, 4:17 PMlateinit
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?Can
11/17/2019, 4:25 PMvalues
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 AMLeland Richardson [G]
11/18/2019, 7:29 AMCan
11/18/2019, 8:08 AMCan
11/18/2019, 9:14 AMCan
11/19/2019, 7:50 AMLeland Richardson [G]
11/19/2019, 5:28 PM