@ file : Suppress (" unused ") Ċ Ċ package Ġme . si eben . se vent ools . xt ensions Ċ Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . annotation . Layout Res Ċ Ċ fun ĠViewGroup . inflate (@ Layout Res Ġlayout Res : ĠInt , Ġparent : ĠViewGroup ? Ġ= Ġthis , Ġattach To Root : ĠBoolean Ġ= Ġfalse ): ĠView Ġ= ĊĠĠĠĠĠĠĠ Ġcontext . layout Inflater . inflate ( layout Res , Ġparent , Ġattach To Root ) Ċ Ċ fun ĠViewGroup . getChildren () Ġ= Ġmutable ListOf < View >(). apply Ġ{ Ġ( 0 Ġuntil Ġchild Count ). forEach Ġ{ Ġadd ( getChild At ( it )) Ġ} Ġ}. toList ()