Closed elgrangrifon45 closed 9 years ago
I also noticed that the app crashes on some orientation changes... could be something like the issue described here:
I researched a little bit. Crashes on orientation changes are due to the fact, that the activity is recreated on orientation changes and fragments arent reattached correctly. Ill be fixing this next week.
Handling orientation changes with fragments is quite complex. I rearranged the whole Fragment handling as follows: Fragments are created on Main-Activity set-up. When changing fragments, fragments are only shown and hidden but not recreated. When the orientation changes, the app is recreated. The fragments are restored from the previous session if possible (NearMe and History Needs to be recreated due to the drawing).
Occasional crashing in S2 (intermittent-so sometimes app will work but sometimes it will stop; sometimes it will only show black screen then app will automatically close—will still need to double check it with other phones but I cannot sign up on them yet, only Samsung S2)
This might have improved with the newest Submission (connectivity check). However, we have to find reasons for the crashes, which might be: