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

Not compatible with Android 10 #504

Open
alixwar opened this issue Sep 4, 2019 · 4 comments
Open

Not compatible with Android 10 #504

alixwar opened this issue Sep 4, 2019 · 4 comments

Comments

@alixwar
Copy link

alixwar commented Sep 4, 2019

Version used of library: 2.7.0
Android Gradle version: 3.5.0

App crashes when targetting API 29:

2019-09-04 14:20:37.302 17366-17366/XXX: Accessing hidden field Landroid/widget/AbsListView;->mSelectorRect:Landroid/graphics/Rect; (greylist-max-p, reflection, denied)
2019-09-04 14:20:37.303 17366-17366/XXX W/System.err: java.lang.NoSuchFieldException: No field mSelectorRect in class Landroid/widget/AbsListView; (declaration of 'android.widget.AbsListView' appears in /system/framework/framework.jar!classes3.dex)
2019-09-04 14:20:37.303 17366-17366/XXX W/System.err: at java.lang.Class.getDeclaredField(Native Method)
2019-09-04 14:20:37.303 17366-17366/XXX W/System.err: at se.emilsjolander.stickylistheaders.WrapperViewList.(WrapperViewList.java:35)
2019-09-04 14:20:37.303 17366-17366/XXX W/System.err: at se.emilsjolander.stickylistheaders.StickyListHeadersListView.(StickyListHeadersListView.java:129)

@nguyencan
Copy link

nguyencan commented May 16, 2021

I got the same issue. In my case, it's not crashed but I always get that log. Anyone can resolve this?

@shylendramadda
Copy link

Same issue here, any update on this?

@alixwar
Copy link
Author

alixwar commented Aug 24, 2021

Same issue here, any update on this?

You may want to look into an Android native solution using RecyclerView nowadays. At least that's what I did.

@shylendramadda
Copy link

Same issue here, any update on this?

You may want to look into an Android native solution using RecyclerView nowadays. At least that's what I did.

Okay thanks, just want to know if there is any quick fix.

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

3 participants