Closed Pygmalion69 closed 4 years ago
Thank you for your detailed bug report.
Unfortunately, I couldn't reproduce the issue on an Android Emulator for Android 8.0.
Anyway, I replaced android.support with androidx libraries to support Android 10. It is working fine on an Android Emulator for Android 9 and Android 10. Hopefully, it will also solve the problem on your device.
Please find the beta release here: https://play.google.com/store/apps/details?id=om.sstvencoder
After entering a label it will not appear in the image on the main screen, on a Samsung Galaxy S7 running Android 8.0.0. The cause is that the main activity is recreated when the user returns from the edit text activity. The constructor of the crop view is called which creates a new (empty) instance of the label collection.
It works fine on a Nexus 4 running Android 5.1.1, as the activity is not recreated on this device:
So a more robust approach would be needed for the data structures to survive life cycle changes.