package Ġcom . av test app . android . android base . av _ test Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . navigation . fragment . find Nav Controller Ċ Ċ import Ġcom . av test app . android . android base . R Ċ import Ġcom . av test app . android . android base . base . Base Fragment Ċ import Ġcom . av test app . android . android base . databinding . Fragment Landing Page Binding Ċ Ċ class Ċ Landing Page Fragment Ġ: ĠBase Fragment () Ġ{ ĊĊĠĠĠ Ġlateinit Ġvar Ġbinding : ĠFragment Landing Page Binding ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( ĊĠĠĠĠĠĠĠ Ġinflater : ĠLayoutInflater , ĊĠĠĠĠĠĠĠ Ġcontainer : ĠViewGroup ?, ĊĠĠĠĠĠĠĠ ĠsavedInstanceState : ĠBundle ? ĊĠĠĠ Ġ): ĠView ? Ġ{ ĊĠĠĠĠĠĠĠ Ġbinding Ġ= ĠFragment Landing Page Binding . inflate ( in flater ) ĊĊĠĠĠĠĠĠĠ Ġreturn Ġ Ġbinding . root ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĠĠĠĠĠĠĠ Ġmain Activity . setUp ToolBar ( getString ( R . string . cat _ bre eds ), Ġtrue ) ĊĊĠĠĠĠĠĠĠ Ġbinding . create Account Button . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġfind Nav Controller (). navigate ( Landing Page Fragment Directions . action Landing Page Fragment To SignUp Fragment ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġbinding . signIn Button . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġfind Nav Controller (). navigate ( Landing Page Fragment Directions . action Landing Page Fragment To Login Fragment ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ