package Ġcom . rid i . books . helper . view Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . view . View Ċ import Ġandroid . view . input method . Input Method Manager Ċ Ċ private Ġval ĠContext . input Method Manager : ĠInput Method Manager ĊĠĠĠ Ġget () Ġ= Ġget System Service ( Context . INPUT _ METHOD _ SERVICE ) Ġas ĠInput Method Manager Ċ Ċ @ Jvm Over loads Ċ fun ĠView . show Soft Keyboard ( flags : ĠInt Ġ= ĠInput Method Manager . SHOW _ IMP LICIT ) Ġ= ĊĠĠĠ Ġcontext . input Method Manager . show Soft Input ( this , Ġflags ) Ċ Ċ @ Jvm Over loads Ċ fun ĠView . hide Soft Keyboard ( flags : ĠInt Ġ= Ġ 0 ) Ġ= Ġcontext . input Method Manager . hide Soft Input From Window ( window Token , Ġflags ) Ċ Ċ @ Jvm Over loads Ċ fun ĠContext . toggle Soft Keyboard ( show Flags : ĠInt Ġ= Ġ 0 , Ġhide Flags : ĠInt Ġ= Ġ 0 ) Ġ{ ĊĠĠĠ Ġinput Method Manager . toggle Soft Input ( show Flags , Ġhide Flags ) Ċ } Ċ