package Ġcom . id is fk j . awesome . user Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġcom . alibaba . android . ar outer . facade . annotation . Route Ċ import Ġcom . id is fk j . awesome . common . AR outer Paths Ċ import Ġcom . id is fk j . awesome . user . fragment . User Fragment Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġid is fk j Ġon Ġ 2 0 1 9 - 1 1 - 1 5 . Ċ Ġ* ĠEmail : Ġid is fk j @ gmail . com . Ċ Ġ*/ Ċ @ Route ( path Ġ= ĠA Router Paths . PATH _ USER _ MAIN ) Ċ class ĠUser MainActivity Ġ: ĠAppCompatActivity () Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . user _ activity _ main ) ĊĠĠĠĠĠĠĠ Ġadd Fragment () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġadd Fragment () Ġ{ ĊĠĠĠĠĠĠĠ Ġsupport FragmentManager . beginTransaction () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. replace ( R . id . fragment _ layout , ĠUser Fragment . getInstance ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. commit () ĊĠĠĠ Ġ} Ċ }