package Ġga . nk 2 ish ere . dev . fl uff yp at rol Ċ Ċ import Ġandroid . content . Intent Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġcom . blue lin el abs . cond uctor . Con duct or Ċ import Ġcom . blue lin el abs . cond uctor . Router Ċ import Ġcom . blue lin el abs . cond uctor . Router Transaction Ċ import Ġga . nk 2 ish ere . dev . fl uff yp at rol . ui . home . HomeController Ċ import Ġkotlinx . android . synt hetic . main . activity .* Ċ import Ġtim ber . log . Tim ber Ċ Ċ class ĠActivity Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġrouter : ĠRouter ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity ) ĊĊĠĠĠĠĠĠĠ Ġrouter Ġ= ĠConduct or . attach Router ( this , Ġmain _ container , ĠsavedInstanceState ) ĊĠĠĠĠĠĠĠ Ġif Ġ(! router . has Root Controller ()) Ġrouter . set Root ( Router Transaction . with ( HomeController . create ())) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Back Pressed () Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ(! router . handle Back ()) Ġsuper . on Back Pressed () ĊĠĠĠ Ġ} Ċ } Ċ