mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2024-11-09 12:01:01 +00:00
2. small fixes
This commit is contained in:
parent
61f54fefc6
commit
234dcbef77
@ -23,9 +23,10 @@ class DropDownAdapter(
|
||||
) :
|
||||
ArrayAdapter<String?>(context, textViewResourceId, objects), OnItemClickListener {
|
||||
|
||||
private val objects: Array<String>
|
||||
private val popup: PopupWindow
|
||||
private val editText: TextView
|
||||
private val objects: Array<String> = objects
|
||||
private val popup: PopupWindow = popup
|
||||
private val editText: TextView = editText
|
||||
|
||||
override fun getDropDownView(position: Int, convertView: View?, parent: ViewGroup?): View? {
|
||||
return getCustomView(position, convertView, parent)
|
||||
}
|
||||
@ -61,9 +62,4 @@ class DropDownAdapter(
|
||||
editText.text = address
|
||||
}
|
||||
|
||||
init {
|
||||
this.objects = objects
|
||||
this.popup = popup
|
||||
this.editText = editText
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user