package Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . fragment . settings Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . os . Handler Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . MainActivity Ċ Ċ import Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . R Ċ import Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . fragment . settings . listener . Settings Select Panel Listener Ċ import Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . fragment . settings . presenter . Settings Presenter Ċ import Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . fragment . settings . view . preset . Preset Fragment Ċ import Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . fragment . settings . view . reset . Reset Setting Fragment Ċ import Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . fragment . settings . view . set id . SetId Fragment Ċ import Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . fragment . settings . view . set mode . Set Mode Fragment Ċ import Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . fragment . settings . view . sp k setting . Sp k Settings Fragment Ċ import Ġcom . g vk orea . g vs 1 0 0 0 _ dsp . fragment . settings . view . sync . Sync Fragment Ċ import Ġkotlinx . android . synt hetic . main . fragment _ settings .* ĊĊ Ċ class ĠSettings Fragment ( val Ġactivity : ĠMainActivity , Ġval Ġm Handler : ĠHandler ) Ġ: ĠFragment () Ġ{ ĊĊĠĠĠ Ġval Ġset id Fragment : ĠSet Id Fragment Ġby Ġlazy Ġ{ ĠSet Id Fragment ( activity , Ġm Handler ) Ġ} ĊĠĠĠ Ġval Ġreset Setting Fragment : ĠReset Setting Fragment Ġby Ġlazy Ġ{ ĠReset Setting Fragment () Ġ} ĊĠĠĠ Ġval Ġset Mode Fragment : ĠSet Mode Fragment Ġby Ġlazy Ġ{ ĠSet Mode Fragment () Ġ} ĊĠĠĠ Ġval Ġsp k Settings Fragment : ĠS pk Settings Fragment Ġby Ġlazy Ġ{ ĠS pk Settings Fragment ( m Handler ) Ġ} ĊĠĠĠ Ġval Ġsync Fragment : ĠSync Fragment Ġby Ġlazy Ġ{ ĠSync Fragment () Ġ} ĊĠĠĠ Ġval Ġpreset Fragment : ĠP reset Fragment Ġby Ġlazy Ġ{ ĠP reset Fragment () Ġ} ĊĊĠĠĠ Ġlateinit Ġvar Ġpresenter : ĠSettings Presenter ĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( ĊĠĠĠĠĠĠĠ Ġinflater : ĠLayoutInflater , Ġcontainer : ĠViewGroup ?, ĊĠĠĠĠĠĠĠ ĠsavedInstanceState : ĠBundle ? ĊĠĠĠ Ġ): ĠView ? Ġ{ ĊĠĠĠĠĠĠĠ Ġ// ĠInf late Ġthe Ġlayout Ġfor Ġthis Ġfragment ĊĠĠĠĠĠĠĠ Ġreturn Ġinflater . inflate ( R . layout . fragment _ settings , Ġcontainer , Ġfalse ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġpresenter Ġ Ġ= ĠSettings Presenter ( this ) ĊĠĠĠĠĠĠĠ Ġinit Listener () ĊĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġinit Listener () Ġ{ ĊĠĠĠĠĠĠĠ Ġbtn _ ID _ setting . setOnClickListener ( Settings Select Panel Listener ( presenter )) ĊĠĠĠĠĠĠĠ Ġbtn _ reset Settings . setOnClickListener ( Settings Select Panel Listener ( presenter )) ĊĠĠĠĠĠĠĠ Ġbtn _ set Mode . setOnClickListener ( Settings Select Panel Listener ( presenter )) ĊĠĠĠĠĠĠĠ Ġbtn _ sync . setOnClickListener ( Settings Select Panel Listener ( presenter )) ĊĠĠĠĠĠĠĠ Ġbtn _ sp k _ setting . setOnClickListener ( Settings Select Panel Listener ( presenter )) ĊĠĠĠĠĠĠĠ Ġbtn _ preset . setOnClickListener ( Settings Select Panel Listener ( presenter )) ĊĠĠĠ Ġ} Ċ Ċ } Ċ