ListPreference is broken with alternate array types
January 22nd, 2011I ran into this issue months ago writing my Android app and it’s hard to believe it doesn’t catch everyone at some point. Basically if you set a ListPreserence to use interger-array then you have to retrieve the data as a string or you get a runtime crash.
Like many of the commenters I wasted many hours on this before I found the bug tracker. Again it’s the small details that need fixing as well as the big new features in 2.3 and 2.4.
See the bug report on Google Code.

