https://kotlinlang.org logo
#android
Title
# android
k

Ken Maffei

09/18/2020, 10:20 PM
Is it necessary to call removeObserver for LiveData in a retained fragment? If so, where and when should this be done?
a

alex_vinz

09/18/2020, 10:23 PM
If you dont call observeForever then you dont need to call removeObserver
k

Ken Maffei

09/18/2020, 10:35 PM
ok, thank you!
3 Views