package Ġcom . quick blo x . sample . video chat . kotlin . utils Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . view . input method . Input Method Manager Ċ import Ġandroid . widget . EditText Ċ import Ġcom . quick blo x . sample . video chat . kotlin . App Ċ Ċ fun Ġshow Keyboard ( edit Text : ĠEditText ) Ġ{ ĊĠĠĠ Ġval Ġimm Ġ= ĠApp . getInstance (). getSystem Service ( Context . INPUT _ METHOD _ SERVICE ) Ġas ĠInput Method Manager ĊĠĠĠ Ġimm . show Soft Input ( edit Text , ĠInput Method Manager . SHOW _ IMP LICIT ) Ċ } Ċ Ċ fun Ġhide Keyboard ( edit Text : ĠEditText ) Ġ{ ĊĠĠĠ Ġval Ġimm Ġ= ĠApp . getInstance (). getSystem Service ( Context . INPUT _ METHOD _ SERVICE ) Ġas ĠInput Method Manager ĊĠĠĠ Ġimm . hide Soft Input From Window ( edit Text . window Token , Ġ 0 ) Ċ }