package Ġio . goo oler . demo app . common . base . binding Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . databinding . ViewData Binding Ċ import Ġio . goo oler . demo app . common . base . theme . Base Theme Dialog Fragment Ċ import Ġio . goo oler . demo app . common . util . inflate Binding Ċ Ċ abstract Ġclass ĠBase Binding Dialog Fragment < VB Ġ: ĠView Data Binding > Ġ: ĊĠ ĠBase Theme Dialog Fragment (), ĊĠ ĠI Binding Fragment < VB > Ġ{ ĊĊĠ Ġoverride Ġlateinit Ġvar Ġbinding : ĠVB ĊĊĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠ Ġbinding Ġ= Ġinf late Binding ( layout Inflater ) ĊĠĠĠ Ġinit Once () ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun ĠonCreate View ( ĊĠĠĠ Ġinflater : ĠLayoutInflater , ĊĠĠĠ Ġcontainer : ĠViewGroup ?, ĊĠĠĠ ĠsavedInstanceState : ĠBundle ? ĊĠ Ġ): ĠView Ġ= Ġbinding . root ĊĊĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĠĠĠ Ġbinding . lifecycle Owner Ġ= Ġview Lifecycle Owner ĊĠ Ġ} Ċ } Ċ