pull/35/head
kunfei 5 years ago
parent 4e5e8c698b
commit 4e8f653f7e
  1. 4
      app/src/main/java/io/legado/app/lib/theme/view/ATEAutoCompleteTextView.kt

@ -35,7 +35,9 @@ class ATEAutoCompleteTextView : AppCompatAutoCompleteTextView {
override fun onFocusChanged(focused: Boolean, direction: Int, previouslyFocusedRect: Rect?) {
super.onFocusChanged(focused, direction, previouslyFocusedRect)
showDropDown()
if (focused) {
showDropDown()
}
}
fun setFilterValues(values: List<String>?, delCallBack: ((value: String) -> Unit)? = null) {

Loading…
Cancel
Save