package Ġlt . vil n ius . t var ka u . navigation Ċ Ċ import Ġandroid . content . Intent Ċ import Ġlt . vil n ius . t var ka u . MainActivity Ċ import Ġlt . vil n ius . t var ka u . Profile Edit Activity Ċ import Ġlt . vil n ius . t var ka u . Report Details Activity Ċ import Ġlt . vil n ius . t var ka u . activity . Activity Constants Ċ import Ġlt . vil n ius . t var ka u . activity . Report Registration Activity Ċ import Ġlt . vil n ius . t var ka u . entity . Report Entity Ċ import Ġlt . vil n ius . t var ka u . fragments . All Reports List Fragment Ċ import Ġlt . vil n ius . t var ka u . fragments . Multiple Problems Map Fragment Ċ import Ġlt . vil n ius . t var ka u . fragments . My Reports List Fragment Ċ import Ġlt . vil n ius . t var ka u . fragments . Report Filter Fragment Ċ import Ġlt . vil n ius . t var ka u . fragments . Report Import Dialog Fragment Ċ import Ġlt . vil n ius . t var ka u . fragments . Settings Fragment Ċ Ċ class ĠNavigation ManagerImpl ( ĊĠĠĠ Ġprivate Ġval Ġactivity : ĠMainActivity Ċ ) Ġ: ĠNavigation Manager Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġexecutor Ġ= ĠFragment Transaction Executor ( activity . support FragmentManager ) ĊĊĠĠĠ Ġoverride Ġfun Ġnavigate To MenuItem ( menuItem : ĠNavigation Manager . Tab Item ) Ġ{ ĊĠĠĠĠĠĠĠ Ġwhen Ġ( menuItem ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠNavigation Manager . Tab Item . REPORT S _ LIST Ġ-> Ġexecutor . replace With Clear Top ( All Reports List Fragment . newInstance ()) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠNavigation Manager . Tab Item . MY _ REPORT S _ LIST Ġ-> Ġexecutor . replace With Clear Top ( My Reports List Fragment . newInstance ()) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠNavigation Manager . Tab Item . REPORT S _ MAP Ġ-> Ġexecutor . replace With Clear Top ( Multiple Problems Map Fragment . newInstance ()) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠNavigation Manager . Tab Item . SETTINGS Ġ-> Ġexecutor . replace With Clear Top ( Settings Fragment . newInstance ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnavigate To Reports List Filter () Ġ{ ĊĠĠĠĠĠĠĠ Ġexecutor . replace With Vertical Animation ( Report Filter Fragment . newInstance ( Report Filter Fragment . TARGET _ LIST ), Ġtrue ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnavigate To Reports Map Filter () Ġ{ ĊĠĠĠĠĠĠĠ Ġexecutor . replace With Vertical Animation ( Report Filter Fragment . newInstance ( Report Filter Fragment . TARGET _ MAP ), Ġtrue ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnavigate To New Report () Ġ{ ĊĠĠĠĠĠĠĠ ĠIntent ( activity , ĠReport Registration Activity :: class . java ). let Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġactivity . startActivity For Result ( it , ĠActivity Constants . REQUEST _ CODE _ NEW _ REPORT ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnavigate To Profile Edit Activity () Ġ{ ĊĠĠĠĠĠĠĠ ĠIntent ( activity , ĠProfile Edit Activity :: class . java ). let Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġactivity . startActivity For Result ( it , ĠActivity Constants . REQUEST _ EDIT _ PROFILE ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnavigate To Report Details Activity ( report Entity : ĠReport Entity ) Ġ{ ĊĠĠĠĠĠĠĠ ĠReport Details Activity . getStart Activity Intent ( activity , Ġreport Entity . id ). let Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġactivity . startActivity ( it ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġoverride Ġfun Ġshow Reports Import Dialog () Ġ{ ĊĠĠĠĠĠĠĠ Ġexecutor . show Dialog ( Report Import Dialog Fragment . newInstance ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Back Pressed (): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġexecutor . on Back Pressed () ĊĠĠĠ Ġ} Ċ Ċ } Ċ