package Ġio . arm cha . ribb le . presentation . screen . shot _ root ĊĊ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġio . arm cha . ribb le . R Ċ import Ġio . arm cha . ribb le . presentation . adapter . Shot Pager Adapter Ċ import Ġio . arm cha . ribb le . presentation . base _ mvp . base . Base Fragment Ċ import Ġio . arm cha . ribb le . presentation . screen . shot . Shot Root Contract Ċ import Ġio . arm cha . ribb le . presentation . utils . extensions . to Px Ċ import Ġio . arm cha . ribb le . presentation . widget . Custom Tab Layout Ċ import Ġio . arm cha . ribb le . presentation . widget . navigation _ view . Navigation Id Ċ import Ġkotlinx . android . synt hetic . main . fragment _ shot _ root .* Ċ import Ġjavax . inject . Inject ĊĊ Ċ class ĠShot Root Fragment Ġ: ĠBase Fragment < Shot Root Contract . View , ĠShot Root Contract . Presenter >(), ĠShot Root Contract . View Ġ{ ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġprotected Ġlateinit Ġvar Ġshot Root Presenter : ĠShot Root Presenter ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġprotected Ġlateinit Ġvar Ġshot Pager Adapter : ĠShot Pager Adapter ĊĊĠĠĠ Ġoverride Ġfun Ġinit Presenter () Ġ= Ġshot Root Presenter ĊĊĠĠĠ Ġoverride Ġval Ġlayout Res Id Ġ= ĠR . layout . fragment _ shot _ root ĊĊĠĠĠ Ġoverride Ġfun Ġinject Dependencies () Ġ= Ġactivity Component . inject ( this ) ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView ?, ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetUp Pager Adapter () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun ĠsetUp Pager Adapter () Ġ{ ĊĠĠĠĠĠĠĠ Ġshot ViewPager . adapter Ġ= Ġshot Pager Adapter ĊĠĠĠĠĠĠĠ Ġwith ( tab Layout ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsetup With ViewPager ( shot ViewPager ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtab Mode Ġ= ĠCustom Tab Layout . MODE _ FIXED ĊĠĠĠĠĠĠĠĠĠĠĠ ĠsetSelected Tab Indicator Height ( 5 . to Px ( context )) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Title (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠNavigation Id . SHOT . name ĊĠĠĠ Ġ} Ċ } Ċ