bits about life, coding and stuff
Designing views in the Android SDK is one of the areas that I can say without equivocation is worse than the iPhone in every single respect. Android’s approach to creating views has absolutely no redeeming value whatsoever. Designing your interface on the iPhone is easy. It’s fun. It’s intuitive. On Android, it’s fucking hell. It’s [...]
Small change, BIG impact. Remember there’s SQLite sitting under your wrapper. So don’t do chained OR’s. An expression like ” x=’A’ OR x=’B’ ” will not make use of an index on column x. Instead use ” x IN (‘A’, ‘B’) “. Whoops. Changed and now queries run *much* quicker. (with an index on the uid) [...]
implementation of -viewDidUnload caused the view to be reloaded. This will adversely impact system performance. Oh ooh. Don’t call a property on viewDidUnload that is lazy loading and practically reloads the whole view when initially created… hey Apple, where’s my viewWillUnload ?