package Ġcom . sub tle fox . currency rates . presentation . utils Ċ Ċ import Ġandroidx . core . content . Context Compat Ċ import Ġandroid . view . View Ċ import Ġandroid . view . input method . Input Method Manager Ċ import Ġandroid . widget . EditText Ċ Ċ fun ĠEditText . open Keyboard () Ġ{ ĊĠĠĠ Ġval Ġimm Ġ= ĠContext Compat . getSystem Service ( context , ĠInput Method Manager :: class . java ) ĊĠĠĠ Ġimm ?. show Soft Input ( this , Ġ 0 ) Ċ } Ċ Ċ fun ĠView . hide Keyboard () Ġ{ ĊĠĠĠ Ġval Ġimm Ġ= ĠContext Compat . getSystem Service ( context , ĠInput Method Manager :: class . java ) ĊĠĠĠ Ġimm ?. hide Soft Input From Window ( window Token , Ġ 0 ) Ċ }