mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-04 11:57:21 +00:00
Setting up the androidx preference library SettingsFragment
This commit is contained in:
1 parent
06cb63aa11
commit
4e4256bc3f
6 files changed
+81
-3
No files matched your search
@@ -0,0 +1,11 @@
|
||||
package com.rtbishop.lookingsat.ui
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.preference.PreferenceFragmentCompat
|
||||
import com.rtbishop.lookingsat.R
|
||||
|
||||
class SettingsFragment : PreferenceFragmentCompat() {
|
||||
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
|
||||
setPreferencesFromResource(R.xml.preference, rootKey)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user