修复自动填充点击没反应的问题、增加添加书源时的动画
This commit is contained in:
4 files changed
+18
-4
No files matched your search
@@ -72,6 +72,12 @@ class AutoCompleteTextView @JvmOverloads constructor(
|
||||
showDropDown()
|
||||
}
|
||||
}
|
||||
view.setOnClickListener {
|
||||
this@AutoCompleteTextView.setText(getItem(position))
|
||||
this@AutoCompleteTextView.setSelection(getItem(position)?.length ?: 0)
|
||||
dismissDropDown()
|
||||
}
|
||||
|
||||
return view
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user