package Ġcom . example . administrator . mod ular s architecture demo Ċ Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . Window Ċ import Ġcom . alibaba . android . ar outer . facade . annotation . Route Ċ import Ġcom . alibaba . android . ar outer . launcher . AR outer Ċ import Ġcom . example . common sdk . Router Hub Ċ import Ġkotlinx . android . synt hetic . main . activity _ main .* Ċ Ċ @ Route ( path Ġ= ĠRouter Hub . APP _ MAIN _ ACTIVITY ) Ċ class ĠMainActivity Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ Ġrequest Window Feature ( Window . FEATURE _ NO _ TITLE ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ main ) ĊĊĠĠĠĠĠĠĠ Ġweather _ iv . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠA Router . getInstance (). build ( Router Hub . WE ATHER _ MAIN _ ACTIVITY ). navigation ( this @ MainActivity ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġnews _ iv . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠA Router . getInstance (). build ( Router Hub . NE WS _ MAIN _ ACTIVITY ). navigation ( this @ MainActivity ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġarticle _ iv . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠA Router . getInstance (). build ( Router Hub . ARTIC LE _ MAIN _ ACTIVITY ). navigation ( this @ MainActivity ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ