Join Slack
Powered by
seems easier than trying to make the view controll...
# android
m
matt tighe
09/25/2019, 10:23 PM
seems easier than trying to make the view controllers `LifecycleOwner`s and observing livedata
a
Adam Powell
09/25/2019, 11:06 PM
The ViewModel scope will outlive the fragment and its views so this probably isn't quite what you want
m
matt tighe
09/26/2019, 5:02 PM
That’s fine, I’m mostly just worried about leakage
a
Adam Powell
09/26/2019, 5:35 PM
Things you capture in that launched block
will
leak if that scope outlives the things you capture, e.g. views that you update there
2
Views
Open in Slack
Previous
Next