I start new tv app and now I need to develop dynamic preferences for set quality of stream, language of stream etc. So I was planning to use android.preference library and dynamically generate perfs base on stream data. But on https://developer.android.com/guide/topics/ui/settings.html is
Note: This guide explains how to use the AndroidX Preference library. Starting with Android 10, the platform android.preference library is deprecated.
But there is no redirection to replacement. So what to use in place of android.preference library?
Also on that guide is also note:
Note: This guide assumes you are using androidx.preference:preference:1.1.0-alpha04 or higher. Some features might be unavailable on older versions of the library.
so androidx.preference:preference
will be deprecated.