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.
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.