amar_1995
01/17/2020, 12:31 PM+onCommit and it is working perfectly fine. But I am unable to understand when onDispose is called.
var user : User? = null
// Active type use-case
+onCommit(1) {
user = UserAPI.getUserData()
onDispose {
UserAPI.letDiscompose() // It contains only println line
}
}Manuel Wrage
01/17/2020, 12:33 PMamar_1995
01/17/2020, 12:40 PMZsolt
01/17/2020, 1:03 PMamar_1995
01/17/2020, 1:35 PM+onCommit(anyConst) or +onCommit(true) is used. I read somewhere onActive will be removed in future.amar_1995
01/17/2020, 1:36 PMjava.lang.IllegalStateException: no stage finishing is allowed while read is disabled
Any one know why ?