Project Jetpack Compose Spinner's Top Cover Image

Jetpack Compose Spinner

Code + Video Tutorial on implementing the Android Spinner component in Android's new declarative framework, Jetpack Compose

Key 🔑 Value
Project Status Complete
Date 27/04/2022
Built with
Quick Links

Details

A simple reimplementation of the Spinner/Combobox/DropdownBox Component for Android's declarative Framework, Jetpack Compose with the following features:

  • Responds to light/dark mode changes
  • Supports Empty Arrays, useful for when data is loading
  • Has an adaptive indicator for open/close state

Motivation

Simply put, I have no idea why a default was not built in, so I built one that I thought resembled the original's behaviour best. I used this framework while training for a competition, and having a spinner proved to be very useful especially for building forms.