package Ġcom . pod cre ep . app . podcast s . discover Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . widget . Relative Layout Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġcom . pod cre ep . concurrency . Task Runner Ċ import Ġcom . pod cre ep . databinding . Discover Binding Ċ import Ġcom . pod cre ep . model . store . Pod cast Ċ Ċ class ĠDis cover Layout ( ĊĠĠĠ Ġcontext : ĠContext , ĊĠĠĠ Ġtask Runner : ĠTask Runner , ĊĠĠĠ Ġcallbacks : ĠCallback s ) ĊĠ Ġ: ĠRelative Layout ( context ) Ġ{ ĊĊĠ Ġinterface ĠCallback s Ġ{ ĊĠĠĠ Ġfun Ġon View Pod cast Click ( podcast : ĠLive Data < Pod cast >) ĊĠ Ġ} ĊĊĠ Ġinit Ġ{ ĊĠĠĠ Ġval Ġlayout Inflater Ġ= Ġcontext . getSystem Service ( Context . LAYOUT _ IN FL ATER _ SERVICE ) Ġas ĠLayoutInflater ĊĠĠĠ Ġval Ġbinding Ġ= ĠDis cover Binding . inflate ( layout Inflater , Ġthis ) ĊĠĠĠ Ġbinding . view pager . adapter Ġ= ĠTab Pager Adapter ( context , Ġtask Runner , Ġcallbacks ) ĊĠĠĠ Ġbinding . tab Layout . setup With ViewPager ( binding . view pager ) ĊĠ Ġ} Ċ } Ċ