@ file : Suppress (" DE PREC ATION ", Ġ" UN CHECK ED _ CAST ", Ġ" Member Visibility Can Be Private ", Ġ" unused ") Ċ Ċ package Ġdev . ink rement al . dsl . android . widget Ċ Ċ import Ġandroid . view . View Ċ import Ġandroid . widget . Adapter Ċ import Ġandroid . widget . Adapter View Ċ import Ġdev . ink rement al . Ink rement al Ċ import Ġdev . ink rement al . attr Ċ import Ġdev . ink rement al . bind Ċ import Ġdev . ink rement al . dsl . android . Custom Sdk Setter Ċ import Ġdev . ink rement al . dsl . android . Sdk Setter Ċ import Ġdev . ink rement al . dsl . android . view . ViewGroup Scope Ċ import Ġdev . ink rement al . v Ċ import Ġkotlin . Boolean Ċ import Ġkotlin . Int Ċ import Ġkotlin . Long Ċ import Ġkotlin . Suppress Ċ import Ġkotlin . Unit Ċ Ċ fun Ġadapter View ( configure : ĠAdapter View Scope . () Ġ-> ĠUnit Ġ= Ġ{}) Ġ= ĊĠĠĠ Ġv < Adapter View < *> >( configure . bind ( Adapter View Scope )) Ċ abstract Ġclass ĠAdapter View Scope Ġ: ĠViewGroup Scope () Ġ{ ĊĠ Ġfun Ġadapter ( arg : ĠAdapter ): ĠUnit Ġ= Ġattr (" adapter ", Ġarg ) ĊĠ Ġfun Ġempty View ( arg : ĠView ): ĠUnit Ġ= Ġattr (" empty View ", Ġarg ) ĊĠ Ġfun Ġon Item Click ( arg : Ġ(( ĊĠĠĠ Ġarg 0 : ĠAdapter View <* >, ĊĠĠĠ Ġarg 1 : ĠView , ĊĠĠĠ Ġarg 2 : ĠInt , ĊĠĠĠ Ġarg 3 : ĠLong ĊĠ Ġ) Ġ-> ĠUnit )? ): ĠUnit Ġ= Ġattr (" on Item Click ", Ġarg ) ĊĠ Ġfun Ġon Item Long Click ( arg : Ġ(( ĊĠĠĠ Ġarg 0 : ĠAdapter View <* >, ĊĠĠĠ Ġarg 1 : ĠView , ĊĠĠĠ Ġarg 2 : ĠInt , ĊĠĠĠ Ġarg 3 : ĠLong ĊĠ Ġ) Ġ-> ĠBoolean )? ): ĠUnit Ġ= Ġattr (" on Item Long Click ", Ġarg ) ĊĠ Ġfun Ġon ItemSelected ( arg : ĠAdapter View . On ItemSelected Listener ?): ĠUnit Ġ= Ġattr (" on ItemSelected ", Ġarg ) ĊĠ Ġfun Ġselection ( arg : ĠInt ): ĠUnit Ġ= Ġattr (" selection ", Ġarg ) ĊĠ Ġcompanion Ġobject Ġ: ĠAdapter View Scope () Ġ{ ĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠ ĠInk rement al . register Attribute Setter ( Sdk Setter ) ĊĠĠĠĠĠ ĠInk rement al . register Attribute Setter ( Custom Sdk Setter ) ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ