1 min readApr 8, 2019
You can call getViewLifecycleOwner()
(to observe a LiveData) in onCreateView()
or later, the result is the same. onActivityCreated()
is a good place too.
You can call getViewLifecycleOwner()
(to observe a LiveData) in onCreateView()
or later, the result is the same. onActivityCreated()
is a good place too.
Android developer from Belgium, blogging about advanced programming topics.