package Ġcom . l uk itor . my application C Ċ Ċ import Ġandroid . content . Intent Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġcom . l uk itor . my application C . databinding . Activity User Binding ĊĊ Ċ class ĠUser Activity Ġ: ĠAppCompatActivity () Ġ{ ĊĠĠĠ Ġlateinit Ġvar Ġbinding : ĠActivity User Binding ĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ Ġbinding Ġ= ĠActivity User Binding . inflate ( layout Inflater ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( binding . root ) ĊĠĠĠĠĠĠĠ Ġbinding . img Profile . setOnClickListener Ġ{ Ġview Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ ĠstartActivity ( Intent ( this , ĠProfile Activity :: class . java )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġoverride Pending Transition ( R . transition . bottom _ up , ĠR . transition . nothing );} ĊĊĠĠĠĠĠĠĠ Ġval Ġfragment : ĠFragment ĊĠĠĠĠĠĠĠ Ġfragment Ġ= ĠDashboard Fragment . newInstance () ĊĠĠĠĠĠĠĠ Ġsupport FragmentManager . beginTransaction (). replace ( R . id . layout A pl aa hh hh , Ġfragment ). commit () ĊĠĠĠ Ġ} Ċ }