I was having a hell of a time putting two dropdown boxes side-by-side on my studytimer app. the "years" spinner (that's what Android calls them) seemed to be overwriting the "schools" spinner, and both had the same value of "1". I finally tried putting them vertically instead of horizontally, and the "schools" spinner was still set to "1", and the "years" spinner showed nothing! Turns out I had copied-and-pasted the code for the former into the latter without editing. Stupid, stupid error that cost me hours of Googling and experimenting.

Anyway, now it's working for both listening and other study. But I have to flesh out the "listen" code because right now it only plays the first file found.

Back to blog or home page

last updated 2020-04-29 17:18:23. served from tektonic.jcomeau.com