Code example for SimpleCursorAdapter

Methods: getView

0
 
	@Override 
	public View getView(int arg0, View arg1, ViewGroup arg2)
	{ 
 
		return super.getView(arg0, arg1, arg2);
	} 
 
	@Override 
	public void bindView(View convertView, Context context, Cursor cursor)
	{ 
		View res = convertView;
		if (res == null)
		{ 
			// LAYOUT FOR PHOTOS IN CALLLOG 
			// res = getLayoutInflater().inflate(R.layout.item_composer, null); 
 
			ViewHolder holder = new ViewHolder();
			holder.nameTextView = (TextView) res.findViewById(R.id.username);
			holder.messageTextView = (TextView) res.findViewById(R.id.message);
Connect your IDE to all the code out there  Get Codota for Java