TarunY
05/19/2020, 9:17 AMArun
05/19/2020, 9:20 AMgetLifecycle
?
If so please try replacing it with a lazy delegate such as
private val someProp by lazy { \\ access lifecycle here }
It crashes because if value is directly assigned, it is equivalent to calling the constructor and lifecycle object is not yet created.TarunY
05/19/2020, 9:29 AMTarunY
05/19/2020, 9:42 AM