package Ġcom . xm art labs . sample . ui . select mode Ċ Ċ import Ġandroid . content . Intent Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . support . v 7 . app . AppCompatActivity Ċ import Ġcom . xm art labs . sample . R Ċ import Ġcom . xm art labs . sample . ui . common . F ount ain Adapter Type Ċ import Ġcom . xm art labs . sample . ui . search users . List Github Users Activity Ċ import Ġkotlinx . android . synt hetic . main . activity _ select _ library _ adapter .* Ċ Ċ class ĠSelect F ount ain Mode Activity Ġ: ĠAppCompatActivity () Ġ{ ĊĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠ ĠsetContentView ( R . layout . activity _ select _ library _ adapter ) ĊĊĠĠĠ Ġcoroutine Adapter Button . setOnClickListener Ġ{ Ġgo ToList Github Users Activity ( F ount ain Adapter Type . COR OUT INE ) Ġ} ĊĠĠĠ Ġretrofit Button . setOnClickListener Ġ{ Ġgo ToList Github Users Activity ( F ount ain Adapter Type . RET RO FIT ) Ġ} ĊĠĠĠ Ġrx java Button . setOnClickListener Ġ{ Ġgo ToList Github Users Activity ( F ount ain Adapter Type . RX ) Ġ} ĊĠ Ġ} ĊĊĠ Ġprivate Ġfun Ġgo ToList Github Users Activity ( type : ĠF ount ain Adapter Type ) Ġ{ ĊĠĠĠ Ġval Ġintent Ġ= ĠIntent ( this , ĠList Github Users Activity :: class . java ) ĊĠĠĠĠĠĠĠ Ġ. putExtra ( List Github Users Activity . KEY _ ADAPTER _ TYPE _ NAME , Ġtype ) ĊĠĠĠ ĠstartActivity ( intent ) ĊĠ Ġ} Ċ } Ċ