Code example for View

Methods: getTag

    public View newView(Context context, Cursor cursor, ViewGroup parent) {
        View v = super.newView(context, cursor, parent);
        v.setTag(new ChildViewCache(v));
        return v;
     * Cache of the child views of drop-drown list items, to avoid looking up the children 
     * each time the contents of a list item are changed. 
    private final static class ChildViewCache { 
        public final TextView mText1;
        public final TextView mText2;
        public final ImageView mIcon1;
        public final ImageView mIcon2;
        public final ImageView mIconRefine;
        public ChildViewCache(View v) {