How to get the number of items in a spinner dynamically?
You can try:
mSpinner.getAdapter().getCount();
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