package Ġcom . ju ul . kr ay on . sample Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġcom . ju ul . kr ay on . element . view . Element View Adapter Ċ import Ġcom . ju ul . kr ay on . sample . databinding . Activity Demo Binding Ċ import Ġkotlin . time . Experimental Time Ċ Ċ @ Opt In ( Experimental Time :: class ) Ċ class ĠDemo Activity Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ Ġval Ġbinding Ġ= ĠActivity Demo Binding . inflate ( layout Inflater ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( binding . root ) ĊĊĠĠĠĠĠĠĠ Ġbinding . s ine View . adapter Ġ= ĠElement View Adapter ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠdataSource Ġ= Ġmoving Sine Wave (), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġupdater Ġ= Ġ:: line Chart ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ } Ċ