package Ġcom . pat ry k . spring er . cash manager . view . main Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġcom . pat ry k . spring er . cash manager . R Ċ import Ġcom . pat ry k . spring er . cash manager . view . base . Base Fragment With ViewPager Ċ import Ġcom . pat ry k . spring er . cash manager . view . base . Base ViewPager Fragment Ċ import Ġcom . pat ry k . spring er . cash manager . view . shopping lists . activ el ists . Active Lists Fragment Ċ import Ġcom . pat ry k . spring er . cash manager . view . shopping lists . arch ieved lists . Arch ived Lists Fragment Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠPat ry k ĠSpr inger Ġon Ġ 2 0 1 9 - 0 6 - 1 3 . Ċ Ġ*/ Ċ class ĠMain Fragment Ġ: ĠBase Fragment With ViewPager < Main Contract . Presenter >(), ĠMain Contract . View Ġ{ ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġoverride Ġlateinit Ġvar Ġm Presenter : ĠMain Contract . Presenter ĊĊĠĠĠ Ġoverride Ġval Ġm ListOf Fragments : ĠList < Base ViewPager Fragment <* >> ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠlistOf ( Active Lists Fragment (), ĠArch ived Lists Fragment ()) ĊĠĠĠ Ġoverride Ġval Ġlayout Res Id : ĠInt ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠR . layout . fragment _ main ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĠĠĠĠĠĠĠ Ġ( m Base Activity Ġas ? ĠMainActivity )?. set Toolbar Title ( R . string . title _ shopping _ lists ) ĊĠĠĠ Ġ} Ċ }