package Ġru . bor on in . simple weather . features . future forecast . ui Ċ Ċ import Ġru . bor on in . simple weather . common . presentation . mvp . Base Presenter Ċ import Ġru . bor on in . simple weather . domain . inter actor . Weather Interactor Ċ import Ġru . bor on in . simple weather . features . future forecast . navigator . Future Forecast Navigator Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠFuture Forecast Presenter Ġ@ Inject Ġconstructor ( ĊĠ Ġprivate Ġval Ġnavigator : ĠFuture Forecast Navigator , ĊĠ Ġprivate Ġval Ġinter actor : ĠWeather Interactor Ċ ) Ġ: ĠBase Presenter < Future Forecast View >(), ĠFuture Forecast Action Ġ{ ĊĊĠ Ġoverride Ġfun Ġon First View Attach () Ġ{ ĊĠĠĠ Ġinter actor . getLast Loaded Weather ()?. let Ġ{ ĊĠĠĠĠĠ Ġview ?. show Forecast ( it ) ĊĠĠĠ Ġ} ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġback Action () Ġ{ ĊĠĠĠ Ġnavigator . back () ĊĠ Ġ} Ċ } Ċ