/* Ċ * Ġ ĠAdd Transport Modal Activity . kt Ċ * Ġ Ġdigital Cov id 1 9 Ċ * Ċ * Ġ ĠCreated Ġby ĠE rand ra ĠJ ay as und ara . Ċ * Ġ ĠCopyright ĠÂ© Ġ 2 0 1 8 Ġk eli ya . ĠAll Ġrights Ġreserved . Ċ */ Ċ Ċ package Ġcom . company _ name . digital _ covid 1 9 . activity Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . Intent Ċ import Ġandroidx . databinding . Data Binding Util Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroid . view . View Ċ import Ġcom . company _ name . digital _ covid 1 9 . R Ċ import Ġcom . company _ name . digital _ covid 1 9 . databinding . Add Transport Modal Activity Binding ĊĊ Ċ class ĠAdd Transport Modal Activity : ĠAppCompatActivity () Ġ{ ĊĊ ĉ comp anion Ġobject Ġ{ ĊĉĉĊĉ ĉ fun Ġnew Intent ( context : ĠContext ): ĠIntent Ġ{ ĊĉĉĊĉĉ ĉ // ĠFill Ġthe Ġcreated Ġintent Ġwith Ġthe Ġdata Ġyou Ġwant Ġto Ġbe Ġpassed Ġto Ġthis ĠActivity Ġwhen Ġit 's Ġopened . Ċĉĉ ĉ return ĠIntent ( context , ĠAdd Transport Modal Activity :: class . java ) Ċĉ ĉ } Ċ ĉ } ĊĉĊ ĉ private Ġlateinit Ġvar Ġbinding : ĠAdd Transport Modal Activity Binding ĊĉĊ ĉ override Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĉĊĉ ĉ super . onCreate ( savedInstanceState ) Ċĉ ĉ binding Ġ= ĠData Binding Util . set ContentView ( this , ĠR . layout . add _ transport _ modal _ activity ) Ċĉ ĉ this . init () Ċ ĉ } ĊĉĊ ĉ private Ġfun Ġinit () Ġ{ ĊĉĊĉ ĉ // ĠConfigure ĠDate Ġcomponent Ċĉ ĉ binding . date Button . setOnClickListener ({ Ġview Ġ-> Ċĉĉ ĉ this . on Date Pressed () Ċĉ ĉ }) ĊĉĉĊĉ ĉ // ĠConfigure Ġadd Transport Ġcomponent Ċĉ ĉ binding . add transport Button . setOnClickListener ({ Ġview Ġ-> Ċĉĉ ĉ this . on Add Transport Pressed () Ċĉ ĉ }) Ċ ĉ } ĊĉĊ ĉ fun Ġon Date Pressed () Ġ{ ĊĉĊ ĉ } ĊĉĊ ĉ fun Ġon Add Transport Pressed () Ġ{ ĊĉĊ ĉ } Ċ } Ċ