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.NoSuchMethodError: android.widget.AbsListView.setAdapter #206

Closed
loguslm opened this issue Mar 14, 2013 · 2 comments
Closed

java.lang.NoSuchMethodError: android.widget.AbsListView.setAdapter #206

loguslm opened this issue Mar 14, 2013 · 2 comments
Labels

Comments

@loguslm
Copy link

loguslm commented Mar 14, 2013

I am importing this project. While loading listview and gridview application crashed it shows error no such method error

@jvincek
Copy link

jvincek commented Mar 14, 2013

This method is available as of API 11, see: http://developer.android.com/reference/android/widget/AbsListView.html#setAdapter%28android.widget.ListAdapter%29

It is a problem with the sample app, rather then the library itself, but since >50% of Android devices use an OS older than that, it could pose an issue for those who judge a library by its sample app without investigating the issue.

@nostra13
Copy link
Owner

My mistake. Yes, this method is available only since Android 3.0. I will fix it asap.

nostra13 added a commit that referenced this issue Mar 14, 2013
android.widget.AbsListView.setAdapter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants