修复自动填充点击没反应的问题、增加添加书源时的动画

This commit is contained in:
HapeLee committed 2025-09-18 02:27:48 +08:00
1 parent 27d66699ab
commit 63498cd14a
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
}
}