package Ġcom . hoc 0 8 1 0 9 8 . example Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroidx . recyclerview . widget . Linear LayoutManager Ċ import Ġcom . hoc 0 8 1 0 9 8 . example . databinding . Activity Second Binding Ċ import Ġcom . hoc 0 8 1 0 9 8 . view binding delegate . view Binding Ċ Ċ class ĠSecond Activity Ġ: ĠAppCompatActivity ( R . layout . activity _ second ) Ġ{ ĊĠ Ġprivate Ġval Ġbinding Ġby Ġview Binding ( Activity Second Binding :: bind ) ĊĠ Ġprivate Ġval Ġdemo Adapter Ġ= ĠDemo Adapter () ĊĊĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠ Ġbinding . re cyclerView . run Ġ{ ĊĠĠĠĠĠ Ġset Has Fixed Size ( true ) ĊĠĠĠĠĠ Ġlayout Manager Ġ= ĠLinearLayoutManager ( this @ Second Activity ) ĊĠĠĠĠĠ Ġadapter Ġ= Ġdemo Adapter ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġdemo Adapter . submit List (( 0 .. 1 _ 0 0 0 ). map ( Int :: toString )) ĊĠ Ġ} Ċ } Ċ