-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
NullPointerException ListAdapter.getCount(); #45
Comments
Hi, Thank you! :) |
Exactly the same problem here... I will make some more tests, but I cannot reproduce on my own device, only reports from Play Store. |
Looking |
I meet same problem..
|
I know what's cause this problem just now. You need to setAdapter before return the Fragment'view. |
I've got exactly the same error in production with Moto X running android 4.4 and I can't reproduce it, |
I wasn't able to reproduce with a fragment example added to the sample app. Could you please share the creation code of your fragment. I did however add a check against the null adapter in the getLastVisiblePosition() so this should now be fixed. |
I'm getting an error just doing setContentView.
Here is my list layout:
Here the staktrace:
Thanks!!
The text was updated successfully, but these errors were encountered: