cursoradapter
overriding getViewTypeCount() and getItemViewType()
bindView
newView methods
@Override public void bindView(View view, Context context, Cursor cursor) { TextView tView = (TextView) view.findViewById(R.id.TextView1); tView.setText("The text"); } @Override public View newView(Context context, Cursor cursor, ViewGroup parent) { return mInflater.inflate(R.layout.item1, parent, false); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)