j4velin / WiFi-Automatic

Automatically turn off WiFi if you don't need it
https://play.google.com/store/apps/details?id=de.j4velin.wifiAutoOff
Apache License 2.0
70 stars 32 forks source link

Migrate PreferenceActivity to AndroidX Preference Library? #63

Open summersab opened 2 years ago

summersab commented 2 years ago

Apparently, the PreferenceActivity library is deprecated. The migration path is to use the AndroidX Preference library to make use of fragments. However, I'm a novice Android developer, and I have no idea how to do that.

I would like to add a feature to play a notification if WiFi is disconnected while media is playing (helps save on accidental mobile data use). The media picker library I found (https://github.com/kevalpatel2106/android-ringtone-picker) relies on fragments, so I can't move forward with this improvement.