package Ġkr . ac . g ach on . sw . saf eno ise cancel ing . ui . splash ĊĊ Ċ import Ġandroid . content . Intent Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . os . Handler Ċ import Ġandroid . os . Looper Ċ import Ġkr . ac . g ach on . sw . saf eno ise cancel ing . base . Base Activity Ċ import Ġkr . ac . g ach on . sw . saf eno ise cancel ing . databinding . Activity Splash Binding Ċ import Ġkr . ac . g ach on . sw . saf eno ise cancel ing . ui . main . MainActivity Ċ Ċ class ĠSpl ash Activity Ġ: ĠBase Activity < Activity Splash Binding >( Activity Splash Binding :: inflate ), ĊĠĠĠ ĠSpl ash Contract . View Ġ{ ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġm Presenter : ĠSpl ash Presenter ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ Ġm Presenter . create View ( this ) ĊĊĠĠĠĠĠĠĠ ĠHandler ( Looper . get Main Looper ()). post Delayed Ġ({ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠstartActivity ( Intent ( this , ĠMainActivity :: class . java )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġfinish () ĊĠĠĠĠĠĠĠ Ġ}, Ġ 2 0 0 0 ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġinit Presenter () Ġ{ ĊĠĠĠĠĠĠĠ Ġm Presenter Ġ= ĠSpl ash Presenter () ĊĠĠĠ Ġ} Ċ }