package Ġcom . ir sc . challenge . fragments Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . databinding . Data Binding Util Ċ import Ġandroidx . fragment . app . Dialog Fragment Ċ import Ġcom . ir sc . challenge . R Ċ import Ġcom . ir sc . challenge . databinding . Fragment Progress Dialog Binding ĊĊ Ċ class ĠProgress Dialog Fragment Ġ: ĠDialog Fragment () Ġ{ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġbinding : Fragment Progress Dialog Binding ĊĊĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( in flater : ĠLayoutInflater , Ġcontainer : ĠViewGroup ?, ĠsavedInstanceState : ĠBundle ?): ĠView ? Ġ{ ĊĠĠĠĠĠĠĠ Ġbinding Ġ= ĠData Binding Util . inflate < Fragment Progress Dialog Binding >( in flater , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠR . layout . fragment _ progress _ dialog , container , false ) ĊĊĠĠĠĠĠĠĠ Ġdialog ?. set Cancel able ( false ) ĊĊĠĠĠĠĠĠĠ Ġbinding . animation View . set Animation (" loading . json ") ĊĠĠĠĠĠĠĠ Ġbinding . animation View . play Animation () ĊĊĊĊĠĠĠĠĠĠĠ Ġreturn Ġbinding . root ĊĠĠĠ Ġ} Ċ Ċ }