Skip to content Skip to sidebar Skip to footer

Lifecycleregistry Not Getting Initialized, In The Baseactivity For Mvp Architecture

I have the few Base classes defined for my Activity and Fragment, Presenter, and ViewHolder, and ViewModel, and an interface and Presenter being defined, All other activities inher

Solution 1:

Remove the override to getLifecycle() and your own LifecycleRegistry. This was neccessary before Architecture Components became stable and directly integrated into AppCompatActivity and Fragment, but is not necessary anymore.


Post a Comment for "Lifecycleregistry Not Getting Initialized, In The Baseactivity For Mvp Architecture"