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 #326

Open
NOS-AE opened this issue Jul 10, 2019 · 0 comments
Open

java.lang.ClassCastException #326

NOS-AE opened this issue Jul 10, 2019 · 0 comments

Comments

@NOS-AE
Copy link

NOS-AE commented Jul 10, 2019

I got one FloatingSearchView(id: search_bar, and I have no other view with the same id or other FloatingSearchView) in the third page of the four-paged viewpager. In the second loading of the third page(I click the third page then first page and the third again), , I ran it and got java.lang.ClassCastException: android.view.AbsSavedState$1 cannot be cast to com.arlib.floatingsearchview.FloatingSearchView$SavedState. After searching for the solution and didn't got the one for my case, I try to change the id to another like "search_bar_test" or else and it worked. I thought there might be a view with id "search_bar" or other reason...(haven't checked the source code)

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

No branches or pull requests

1 participant