Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.ClassCastException #254

Open
cre8ivejp opened this issue Jul 10, 2016 · 0 comments · May be fixed by #258
Open

java.lang.ClassCastException #254

cre8ivejp opened this issue Jul 10, 2016 · 0 comments · May be fixed by #258

Comments

@cre8ivejp
Copy link

I'm always getting this error when the activity is being recreated after it was destroyed by the OS.
Anyone had the same problem?

Caused by: java.lang.ClassCastException: android.support.v7.widget.RecyclerView$SavedState cannot be cast to com.github.ksoichiro.android.observablescrollview.ObservableRecyclerView$SavedState at com.github.ksoichiro.android.observablescrollview.ObservableRecyclerView.onRestoreInstanceState(ObservableRecyclerView.java:73) at android.view.View.dispatchRestoreInstanceState(View.java:14752) at android.view.ViewGroup.dispatchThawSelfOnly(ViewGroup.java:3141) at android.support.v7.widget.RecyclerView.dispatchRestoreInstanceState(RecyclerView.java:1090) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127) at android.view.View.restoreHierarchyState(View.java:14730) at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2035) at android.app.Activity.onRestoreInstanceState(Activity.java:1008)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant