package Ġtool . xf y 9 3 2 6 . schedule . ui . fragment . settings Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . lifecycle . lifecycle Scope Ċ import Ġandroidx . preference . Preference DataStore Ċ import Ġtool . xf y 9 3 2 6 . schedule . R Ċ import Ġtool . xf y 9 3 2 6 . schedule . data . Schedule DataStore Ċ import Ġtool . xf y 9 3 2 6 . schedule . kt . bind Pref Fragment Ċ import Ġtool . xf y 9 3 2 6 . schedule . ui . fragment . base . Abstract Settings Fragment Ċ Ċ class ĠSchedule Settings Fragment Ġ: ĠAbstract Settings Fragment () Ġ{ ĊĠĠĠ Ġoverride Ġval Ġtitle Name : ĠInt Ġ= ĠR . string . schedule _ settings ĊĠĠĠ Ġoverride Ġval Ġpreference Res Id : ĠInt Ġ= ĠR . xml . settings _ schedule ĊĠĠĠ Ġoverride Ġval Ġpreference DataStore : ĠPreference DataStore Ġ= ĠSchedule DataStore . get Preference DataStore ( lifecycle Scope ) ĊĊĠĠĠ Ġoverride Ġfun Ġon Pref Init ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġbind Pref Fragment < Schedule Course Cell Settings Fragment >( R . string . pref _ schedule _ course _ cell ) ĊĠĠĠĠĠĠĠ Ġbind Pref Fragment < Schedule Text Settings Fragment >( R . string . pref _ schedule _ text ) ĊĠĠĠĠĠĠĠ Ġbind Pref Fragment < Schedule Background Settings Fragment >( R . string . pref _ schedule _ background ) ĊĠĠĠĠĠĠĠ Ġbind Pref Fragment < Schedule Color Settings Fragment >( R . string . pref _ schedule _ color ) ĊĠĠĠĠĠĠĠ Ġbind Pref Fragment < Schedule Not This Week Settings Fragment >( R . string . pref _ schedule _ not _ this _ week _ style ) ĊĠĠĠ Ġ} Ċ }