Separating Lists with Headers in Android 0.9

Original Article: http://jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/ <!– list_header.xml –> <TextView xmlns:android=”http://schemas.android.com/apk/res/android” android:id=”@+id/list_header_title” android:layout_width=”fill_parent” android:layout_height=”wrap_content” android:paddingTop=”2dip” android:paddingBottom=”2dip” android:paddingLeft=”5dip” style=”?android:attr/listSeparatorTextViewStyle” /> <!– list_item.xml –> <TextView xmlns:android=”http://schemas.android.com/apk/res/android” android:id=”@+id/list_item_title” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:paddingTop=”10dip”…

Making the Android UI Fast and Efficient by Romain Guy

Th_0230_TurboChargeYourUI-HowtomakeyourAndroidUIfastandefficient.pdf Point! Adapters Better Code for efficient view redraw ——————————————————————– 1. Create simple class ——————————————————————– static class ViewHolder { TextView text; ImageView icon; } ——————————————————————–…