-
Notifications
You must be signed in to change notification settings - Fork 49
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
Memory leak fix, language option, tablet mode option, Context use optimize #99
Conversation
- do not use large App Context for short living activities - provide proper Activity context for UI elements
Pepare for garbage collector the static methods locking the referenced context This prevents the memory leak present on every rotation of screen in Settings or when entering/exiting any Settings tab Using a Preferences Manager Class would further avoid using Static references to context needed by Static inner Activity classes
When editing a task starting in Land Layout, if it has a long name, title formatting is broken When back to prortait, display is completely broken Warning message is also moved to the scroll view Same issue but less pronounced from Large to Portrait
…size This is usefull for small devices when user gets used to the Settings GUI and wants a quick access to the Setings menu
…t language Thanks to Yaroslav Berezanskyi https://proandroiddev.com/change-language-programmatically-at-runtime-on-android-5e6bc15c758 github: https://github.com/YarikSOffice/LanguageTest
Thank you. P.S. Best regards. |
90a5a21
to
6ab4f0d
Compare
edited with all the translation issues related to the UI context not used |
I pushed a pull request |
See details of each commit + comments below
Utilities lib must be updated to properly use a less extensive Activity Context that can be destroyed with Activity, instead of global App Context