Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 278 Bytes

README.md

File metadata and controls

8 lines (8 loc) · 278 Bytes

Starter-Kit

fun Spinner.items(list: Array<String>, context: Context){
    val adapter=ArrayAdapter<String>(context, R.layout.spinner_item_with_drawable,list)
    adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
    this.adapter=adapter
}