Re:Software Engineers Will Work One Day For English Majors
by tgflynn on Monday April 23, 2012 @02:16PM
(#3880178)
I was trying to use EditText's in ListView items.
The focus handling is completely broken, but nothing in the Android documentation suggested there was anything wrong with trying to do this. It was only after Googling through many posts that I came to the conclusion that ListView's aren't useful for editable fields.
Of course there may be some magic sequence of API calls that will make the focus handling work but it turns out that using LinearLayout's is much easier.
Of course poor API's have always existed but I am distinctly unimpressed with the quality of Android's UI framework compared to others I have used and I find that very disturbing for such a high-profile and important project.
The focus handling is completely broken, but nothing in the Android documentation suggested there was anything wrong with trying to do this. It was only after Googling through many posts that I came to the conclusion that ListView's aren't useful for editable fields.
Of course there may be some magic sequence of API calls that will make the focus handling work but it turns out that using LinearLayout's is much easier.
Of course poor API's have always existed but I am distinctly unimpressed with the quality of Android's UI framework compared to others I have used and I find that very disturbing for such a high-profile and important project.