package Ġs out void . com . D sr Weather App . ui . screen . main Ċ Ċ import Ġcom . ag na . fer ro . mvp . component . scope . Per Screen Ċ import Ġs out void . com . D sr Weather App . ui . base . activity . Base Presenter Ċ import Ġs out void . com . D sr Weather App . ui . common . error . ErrorHandler Ċ import Ġjavax . inject . Inject Ċ Ċ @ Per Screen Ċ class ĠMainActivity Presenter Ġ@ Inject Ġconstructor ( error Handler : ĠError Handler ) ĊĠĠĠ Ġ: Base Presenter < MainActivity View >( error Handler ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonLoad ( view Re created : ĠBoolean ) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Load ( view Re created ) ĊĊĠĠĠĠĠĠĠ Ġview . show Locations Fragment () ĊĠĠĠĠĠĠĠ Ġif Ġ( view . is Theme Just Changed ()) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġview . show Settings Fragment () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġview . set Theme Just Changed ( false ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġattach View ( view : ĠMainActivity View ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . attach View ( view ) ĊĊĊĠĠĠ Ġ} Ċ }