package Ġcom . open conference . util Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . support . annotation . Id Res Ċ import Ġandroid . view . View Ċ import Ġandroid . view . input method . Input Method Manager ĊĊ Ċ fun Ġ< T Ġ: ĠView > ĠView . find View (@ Id Res Ġid : ĠInt ) Ġ= Ġthis . findViewById ( id ) Ġas ĠT Ċ Ċ fun ĠView . hide Keyboard () Ġ{ ĊĠ Ġ( context . getSystem Service ( ĊĠĠĠĠĠ ĠContext . INPUT _ METHOD _ SERVICE ) Ġas ĠInput Method Manager ). hide Soft Input From Window ( ĊĠĠĠĠĠ Ġwindow Token , Ġ 0 ) Ċ } Ċ Ċ fun ĠView . show Keyboard () Ġ{ ĊĠ Ġ( context . getSystem Service ( ĊĠĠĠĠĠ ĠContext . INPUT _ METHOD _ SERVICE ) Ġas ĠInput Method Manager ). toggle Soft Input ( ĊĠĠĠĠĠĠĠĠ ĠInput Method Manager . SHOW _ FOR CED , Ġ 0 ) Ċ } ĊĊĊ