package Ġcom . va ib hav . task ify . ui . add Task Screen Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroidx . navigation . Nav Controller Ċ import Ġandroidx . navigation . find Nav Controller Ċ import Ġcom . va ib hav . task ify . R Ċ import Ġcom . va ib hav . task ify . databinding . Activity Add Task Binding Ċ import Ġcom . va ib hav . task ify . ui . Error Dialog Fragment Ċ import Ġcom . va ib hav . task ify . util . Error TY pe Ċ import Ġcom . va ib hav . task ify . util . SHOW _ ERROR _ DIALOG Ċ import Ġcom . va ib hav . task ify . util . make StatusBar Transparent Ċ import Ġcom . va ib hav . task ify . util . view Binding Ċ import Ġdagger . h ilt . android . Android EntryPoint Ċ Ċ @ Android EntryPoint Ċ class ĠAdd Task Activity Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġbinding Ġby Ġview Binding ( Activity Add Task Binding :: inflate ) ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġnav Controller : ĠNav Controller ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( binding . root ) ĊĠĠĠĠĠĠĠ Ġnav Controller Ġ= Ġfind Nav Controller ( R . id . fragment 3 ) ĊĠĠĠĠĠĠĠ Ġmake StatusBar Transparent () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġshow Error Dialog ( error TY pe : ĠError TY pe ) Ġ{ ĊĠĠĠĠĠĠĠ ĠError Dialog Fragment ( error TY pe ). show ( support FragmentManager , ĠSHOW _ ERROR _ DIALOG ) ĊĠĠĠ Ġ} Ċ } Ċ