emilsjolander / StickyListHeaders

An android library for section headers that stick to the top
Apache License 2.0
5.51k stars 1.52k forks source link

Handling non empty state of parent class is not implemented #514

Open Hiten1984 opened 2 years ago

Hiten1984 commented 2 years ago

Hi

I am using your library and starting to experience a new issue out of the blue. The exception details are below.

Fatal Exception: java.lang.IllegalStateException Handling non empty state of parent class is not implemented se.emilsjolander.stickylistheaders.StickyListHeadersListView.onSaveInstanceState (StickyListHeadersListView.java:1098) android.view.View.dispatchSaveInstanceState (View.java:20984) android.view.ViewGroup.dispatchSaveInstanceState (ViewGroup.java:3975) android.view.View.saveHierarchyState (View.java:20967) androidx.fragment.app.FragmentStateManager.saveViewState (FragmentStateManager.java:721) androidx.fragment.app.FragmentStateManager.saveBasicState (FragmentStateManager.java:690) androidx.fragment.app.FragmentStateManager.saveState (FragmentStateManager.java:649) androidx.fragment.app.FragmentStore.saveActiveFragments (FragmentStore.java:177) androidx.fragment.app.FragmentManager.saveAllState (FragmentManager.java:2655) androidx.fragment.app.Fragment.performSaveInstanceState (Fragment.java:3153) androidx.fragment.app.FragmentStateManager.saveBasicState (FragmentStateManager.java:683) androidx.fragment.app.FragmentStateManager.saveState (FragmentStateManager.java:649) androidx.fragment.app.FragmentStore.saveActiveFragments (FragmentStore.java:177) androidx.fragment.app.FragmentManager.saveAllState (FragmentManager.java:2655) androidx.fragment.app.FragmentController.saveAllState (FragmentController.java:152) androidx.fragment.app.FragmentActivity$1.saveState (FragmentActivity.java:133) androidx.savedstate.SavedStateRegistry.performSave (SavedStateRegistry.java:227) androidx.savedstate.SavedStateRegistryController.performSave (SavedStateRegistryController.java:74) androidx.activity.ComponentActivity.onSaveInstanceState (ComponentActivity.java:314)

martinrehder commented 2 years ago

We have seen the same error in our app beginning on March 12 and according to crashlytics, haven't seen it before

Hiten1984 commented 2 years ago

I have had my issue fixed. Check - Crash on Android O #483

CL-window commented 2 years ago

Hello,我已收到邮件,待我仔细阅读后再回复。

440791217 commented 2 years ago

收到