If you have a lot of options to choose, using Radio Buttons will quickly fill in the available spaces on the screen. Spinner overcomes this problem by acting like combo box (dropdown box): shows only the selected option, but expands upon user click to show many other available options. We will learn how to utilize Spinner.
Chapters
00:00 Introduction
03:32 Adding Spinner
08:17 Using string-array for Spinner items
10:59 Preparing array of objects
14:12 Creating ArrayAdapter for Spinner
19:15 Override toString()
22:29 Custom layout for Spinner
Pastebin for array of Genres: https://pastebin.com/Ju7u7Pav
Default Spinner layouts:
https://android.googlesource.com/plat...
https://android.googlesource.com/plat...
Playlist: • NMP 6: Android UI Components 2 (English)
Online course for Native Mobile Programming
Week 6 Odd Semester AY 2021/2022
Information Technology & Informatics program
Department of Informatics - Faculty of Engineering
University of Surabaya
#UBAYAforIndonesia
Intro & Outtro: TheFatRat & Laura Brehm - We'll Meet Again
• TheFatRat & Laura Brehm - We'll Meet Again