Re: [android-developers] Buggy sample code for an interview

2010-11-16 Thread Kostya Vasilyev
Ok, a few off top of my head: A ListView, an adapter for it, and getView that doesn't recycle views. Or one that recycles, and only sets values if a new layout is loaded. Code that makes network calls on the UI thread. Code that treats Thread as a Runnable, without calling thread.start() A la

[android-developers] Buggy sample code for an interview

2010-11-16 Thread ClarkBattle
I think too many interviews are of the "write new code" variety and not enough of the "analyze this code" variety. I would like to ask a candidate to analyze some android code. I am looking for a good example with some bugs or potential optimizations in it that can be improved. Does anyone have