-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Crash when back button pressed from NearbyListFragment.java #258
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
Comments
I actually pressed back after experiencing the double text problem for the first time, which means the list was loaded. |
Hm, the issue seems to be caused by the unlockScreenOrientation method that I needed to use to lock the screen during loading and unlock it after loading (to prevent crash when screen config changes during AsyncTask loading). I wonder if it would be okay to lock the screen in portrait throughout the entire time the user is on the Nearby activity? Would people need to be able to view it in landscape? (Personally I think landscape is terrible for viewing of the list since you get so few rows and most titles aren't long enough to cause an issue in portrait, but others might feel differently?) |
not optimal for tablet users, but better than crashing? On Sep 5, 2016 23:20, "Josephine Lim" notifications@github.com wrote:
|
I've switched to a different method of handling screen config changes, while working on the fix for #257 (it no longer locks the screen during loading, but retains the fragment). Hopefully that will solve this issue as well. |
Has this issue been encountered again after the fix? |
Not anymore :-) |
@nicolas-raoul , I guess this was when you pressed the back button during loading of the page?
The text was updated successfully, but these errors were encountered: