https://kotlinlang.org logo
d

dekans

11/27/2017, 9:08 AM
@alex.tavella I doesn't work in fragments. Views are destroyed and re-inflated on rotation, but fragment (and its references) persists, so you leak old views refs and can't update the new ones
a

alex.tavella

11/27/2017, 11:49 AM
Doesn't that happen only if u call setRetainInstance(true)? https://github.com/androidannotations/androidannotations/pull/1165
2 Views