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