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 layout done with "px" units.

Code that does database inserts with literal values in the SQL statement string, rather than using parameters.

An Activity that runs an AsyncTask but fails to terminate it or carry it over during orientation changes.

-- Kostya

16.11.2010 22:08, 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 something like this sitting around that I
could use?  Any suggestions?

Thanks,




--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to