package Ġcom . the uh oo i . uh oo ip ic book . util Ċ Ċ import Ġandroid . view . View Ċ import Ġandroid . view . View . GONE Ċ import Ġandroid . view . View . VISIBLE Ċ import Ġandroid . widget . ImageView Ċ import Ġandroidx . databinding . Binding Adapter Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġco il . load Ċ Ċ @ Binding Adapter (" g one Unless ") Ċ fun Ġgone Unless ( view : ĠView , Ġvisible : ĠBoolean ) Ġ{ ĊĠĠĠ Ġview . visibility Ġ= Ġif Ġ( visible ) ĠVIS IBLE Ġelse ĠG ONE Ċ } Ċ Ċ @ Binding Adapter (" imageUrl ") Ċ fun Ġload ( imageView : ĠImageView , ĠimageUrl : ĠString ?) Ġ{ ĊĠĠĠ ĠimageView . load ( imageUrl ) Ċ } Ċ Ċ @ Suppress (" Unused Private Member ") Ċ @ Binding Adapter (" observed List ") Ċ fun Ġobserve List ( re cyclerView : ĠRecyclerView , Ġobserved List : ĠList < Any > ?) Ġ{ ĊĠĠĠ Ġre cyclerView . adapter ?. notify DataSet Changed () Ċ } Ċ