Category "android-spinner"

Pass Date from Datepicker to Spinner selected item and load API Response in Fragment

I have a working app where user select an option from Spinner the datepicker auto open user select the date and view data. However, I am trying to include an Im

How to save the selection of a spinner in a dialog box

I have a dialog box with a spinner in it. So far, I have managed to code the spinner so that it saves the last known selection whenever I open up the dialog box

Dropdown Button/Wheel Picker/Spinner in Jetpack Compose

Is there any standard implementation in Jetpack Compose for visual component like Spinner/Wheel Picker or Dropdown Button?

SharePrefs not working for Android Spinner - behaviour very erratic

I have a spinner inside of a dialog box, which you can use to select a currency for my app. When you select a currency, it connects to an api from a currency si

How to center spinner items using styles.xml?

How to center spinner items through styles without creating custom item view? Without extra work in code, just using styles.

How to fill the spinner with a custom object with coroutines and implement your onItemSelected logic related to that object?

For example, let's use this class: data class Person ( var id : Long, var name: String, var imageUrl: String ) I need to fill my spinner with name

How to style Android spinner popup?

I have set <item name="android:spinnerMode">dialog</item> and so when I tap the spinner, I get a popup. But that popup is grey with white text an

How to customize a Spinner in Android

I want to add a custom height to the dropdown of a Spinner, say 30dp, and I want to hide the dividers of the dropdown list of Spinner. So far I tried to implem