It is implemented by every visible object and serves as an abstraction,
simplification.
Also: there only is one central sharedPreferences object (in
`Functions.kt`). That makes the code way more readable.
- Rename MainActivity to HomeActivity
- Move functions.kt one level up
- Rename package `extern` to `libraries`
- Fix layouts and layout elements (nomenclature:
`activity_fragment_element`)
- Move SectionsPagerAdapter code into the related activity kotlin file
In the actions / apps fragment of the launchers settings.
The terminology has to be improved and kept the same everywhere in the
app, as it also improves the codes readability and quality. I shall do
that soon.
+ Prevent opening app when clicking close to 3 dots icon
+ Enable dark popup background on older APIs
+ Prevent closing `ChooseActivity` when app is uninstalled
+ Fix `top-margin` in the choose activity
+ Rename `ViewPager` files for Settings to contain the string 'Settings'
+ Rename `firstStartup` to `Tutorial`
+ Remove unused library imports in `SettingsActivity.kt`
+ Apps can be launched
+ Apps can be removed
+ In the `Choose App` for action menu, the delete option is hidden
+ The recycler is a little faster as I asynchronously cache it in
`onCreate`
+ Buttons on API < 29 now all have the same color for the customTheme
+ This can be worked on again, if someone figures out how to dynamically
change button colors on older android APIs
Split up the `SettingsActivity` into the smaller Fragments, Rename many
ids... overall cleaner code.
It is 03:56 am and I did not sleep yet... I won't today ^^
* Preload list of Apps when starting the App
In OnCreate, the variable `appsList` is used globally
* Improve ChooseActivity layout
Match it to the style of settings
* Reload appList continuously
Every 30 Seconds or when a app gets removed
* Create a `Install Apps` button
On click the PlayStore will be opened.
* Add missing translations
* Move global variables to `Functions.kt`
Anyone thinking global vars should not be used? I don't care haha...
unless ... feel free to fork this repository and provide a better way of
doing this ^^
Another button in the 'Launcher' Tab of settings. I made sure this does
not reset any user preferences. It just plays the tutorial and returns
to settings.