3 ms·
What were you trying to do, exactly? I won't jump up on the barricades to defend the honor of the Android SDK, but ListView is a tool in my belt that I use to g
by billjings 15y ago
What were you trying to do, exactly? I won't jump up on the barricades to defend the honor of the Android SDK, but ListView is a tool in my belt that I use to get real work done. It's certainly not perfect, but sometimes I miss it when I'm working with UITableView over in iOS land. Cursor management is pretty gross, but ListView itself is usually fine.
I have worked with some genius older developers. If I could point to a flaw in myself as I've grown older, though, it is that I fail to integrate and use working code in the larger ecosystem as quickly as my younger colleagues. More often than not, that shows up as blaming the tool or library because I failed to understand how it works, then falling back on something I already know well. Even if that means rewriting something unnecessarily.
Finally, look - as imperfect as software continues to be, you can't tell me that there weren't awful libraries in common usage ten or fifteen years ago. That doesn't pass the laugh test. You may only remember the good ones, but that's the luxury of memory.
- tgflynn 15y agoI 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.