package Ġcom . example . round corners ample Ċ Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . databinding . Data Binding Util Ċ import Ġcom . example . round corners ample . databinding . Activity Main Binding Ċ Ċ class ĠMainActivity Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġbinding : ĠActivity Main Binding ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġbinding Ġ= ĠData Binding Util . set ContentView ( this , ĠR . layout . activity _ main ) ĊĊĠĠĠĠĠĠĠ Ġbinding . round ListView . adapter Ġ= ĠRound Adapter ( is Circle Ġ= Ġfalse ) ĊĠĠĠĠĠĠĠ Ġbinding . circle ListView . adapter Ġ= ĠRound Adapter ( is Circle Ġ= Ġtrue ) ĊĠĠĠĠĠĠĠ Ġbinding . list View . adapter Ġ= ĠMaterial Adapter () ĊĊĠĠĠ Ġ} Ċ }