WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2024. It is now read-only.
Between version 1.0.5 (working) and [1.1.0-1.1.4] ProcessLifecycle is broken for all LifecycleObserver, DefaultLifecycleObserver and LifecycleEventObserver interfaces.
From 1.1.0 it pushed lifecycle dependencies to update and causes the issue probably.
add a process lifecyle
implement LifecycleObserver
ProcessLifecycleOwner.get().lifecycle.addObserver(this)
@OnLifecycleEvent(Lifecycle.Event.ON_RESUME)
fun onApplicationResume() {
....
}
try with
api "com.google.android.material:compose-theme-adapter:1.0.5" (be sure that life cycle event called)
api "com.google.android.material:compose-theme-adapter:1.1.0" (life cycle event not called, deprecates lifecycle annotation and suggests use DefaultLifecycleObserver and LifecycleEventObserver interfaces instead but none of them are called.)