Christophe Beyls
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.

--

--

Christophe Beyls
Christophe Beyls

Written by Christophe Beyls

Android developer from Belgium, blogging about advanced programming topics.

No responses yet