package Ġcom . van ill ax . tele vision bing ec al cul ator . app . t bc . utils Ċ Ċ import Ġandroidx . databinding . Binding Adapter Ċ import Ġandroid . view . View Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġm itch ross Ġon Ġ 3 / 5 / 1 7 . Ċ Ġ*/ ĊĊ Ċ @ Binding Adapter (" android : visibility ") Ċ fun Ġset Visibility ( view : ĠView , Ġvalue : ĠBoolean ?) Ġ{ ĊĠĠĠ Ġview . visibility Ġ= Ġif Ġ( value !! ) ĠView . VISIBLE Ġelse ĠView . GONE Ċ } Ċ