Code example for Inflater

0
import android.widget.ImageView; 
 
public class ShoutCursorAdapter extends CursorAdapter {
private static int i = 0;
View view=null;
Inflater inflater=new  Inflater();
private int layoutResourceId;
 
	public ShoutCursorAdapter(Context context, Cursor c,int layoutResourceId) {
		super(context, c);
		// TODO Auto-generated constructor stub 
		this.layoutResourceId=layoutResourceId;
		Inflater inflator=(Inflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		 
	} 
	 
 
	@Override 
	public void bindView(View arg0, Context arg1, Cursor cur) {
		// TODO Auto-generated method stub