package Ġcom . design ated ner d . st upid enum tr icks . extensions Ċ Ċ import Ġandroid . support . annotation . String Res Ċ import Ġandroid . support . design . widget . TextInput Layout Ċ Ċ fun ĠText Input Layout . setError (@ String Res Ġerror Res Id : ĠInt ) Ġ{ ĊĠĠĠ Ġthis . context . getString ( error Res Id ) Ċ }