package Ġcom . nominal ista . exp enses . util . extensions Ċ Ċ import Ġandroid . app . Activity Ċ import Ġandroid . content . Context Ċ import Ġandroid . view . View Ċ import Ġandroid . view . input method . Input Method Manager Ċ Ċ fun ĠActivity . show Keyboard ( view : ĠView ) Ġ{ ĊĠĠĠ Ġview . request Focus () ĊĠĠĠ Ġval Ġmanager Ġ= Ġget System Service ( Context . INPUT _ METHOD _ SERVICE ) Ġas ĠInput Method Manager ĊĠĠĠ Ġmanager . show Soft Input ( view , Ġ 0 ) Ċ } Ċ Ċ fun ĠActivity . hide Keyboard () Ġ{ ĊĠĠĠ Ġval Ġview Ġ= Ġcurrent Focus Ġ?: ĠView ( this ) ĊĠĠĠ Ġval Ġmanager Ġ= Ġget System Service ( Activity . INPUT _ METHOD _ SERVICE ) Ġas ĠInput Method Manager ĊĠĠĠ Ġmanager . hide Soft Input From Window ( view . window Token , Ġ 0 ) Ċ }