How to check dropdown status (shown or hidden) in AutoCompleteTextView
in Android?
You can use isPopupShowing()
method.
Indicates whether the popup menu is showing. Returns true if the popup menu is showing, false otherwise
Finally
if(YourAutoCompleteTextViewObject.isPopupShowing()){
// Your code
}else{
// Your code
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With