package Ġcom . m ick bit software . base activity demo Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġcom . m ick bit software . base activity demo . databinding . Fragment Main Binding Ċ import Ġkotlinx . coroutines . delay Ċ import Ġkotlinx . coroutines . launch Ċ Ċ class ĠFragment Using Base Fragment Ġ: ĠBase Fragment < Fragment Main Binding >() Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġbinding Inflater : Ġ( LayoutInflater , ĠViewGroup ?, ĠBoolean ) Ġ-> ĠFragment Main Binding Ġ= ĊĠĠĠĠĠĠĠ ĠFragment Main Binding :: inflate ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĊĠĠĠĠĠĠĠ Ġviews . hello World TextView . text Ġ= Ġ" Loading ..." ĊĊĠĠĠĠĠĠĠ Ġlaunch Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdelay ( 2 0 0 0 ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġviews . hello World TextView . text Ġ= Ġ" Hello ĠFragment Using Base Fragment " ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }