You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've setup the spinner and the data has not been inflated in the spinner till now. So basically its an empty spinner till now. When I click on the spinner it toggles as per the implementation of setOnClickListener() in PowerSpinnerView. I tried to override setOnClickListener() but it did not work. So can you add a check in toggle() that it only toggles if list size > 0.
Something like this : if (adapter.getItems().isNotEmpty()) showOrDismiss()
Need to add a getItems() in adapter classes which will return the list else can add a getSize() too which will return size only.
Expected Behavior:
It should not toggle the list, arrow should not animate.
The text was updated successfully, but these errors were encountered:
Please complete the following information:
Describe the Bug:
I've setup the spinner and the data has not been inflated in the spinner till now. So basically its an empty spinner till now. When I click on the spinner it toggles as per the implementation of
setOnClickListener()
inPowerSpinnerView
. I tried to overridesetOnClickListener()
but it did not work. So can you add a check in toggle() that it only toggles if list size > 0.Something like this : if (adapter.getItems().isNotEmpty()) showOrDismiss()
Need to add a getItems() in adapter classes which will return the list else can add a getSize() too which will return size only.
Expected Behavior:
It should not toggle the list, arrow should not animate.
The text was updated successfully, but these errors were encountered: