im easily able to use for textviews but textview with imageview like contacts name,number and image display sort of listing i m suffering with i have searched many blogs but without success please help.... 

```
public class Listmain extends ListActivity
{ 
    @Override public void onCreate(Bundle savedInstanceState) 
    { 
        super.onCreate(savedInstanceState); 
        try 
        { 
            Data_baseActivity db=new Data_baseActivity(this); 
            db.open(); 
            InputStream is; 
            Cursor cursor =db.getAllContacts1(); 
            int len=cursor.getCount(); 
            SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.rowlayout, cursor, new String[] { "image", "name"}, new int[] { R.id.icon, R.id.label}); 
            adapter.setViewBinder(new ProductViewBinder()); 
            setListAdapter(adapter); 
            db.close(); 
         } 
         catch(Exception e) 
         { 
            Toast.makeText(this, e.toString()+" error", Toast.LENGTH_LONG).show(); 
         }
    }
}

public class ProductViewBinder implements ViewBinder 
{
    public boolean setViewValue(View view, Cursor cursor, int columnIndex)
    {
        try
        {
            if (view instanceof ImageView) 
            {
                byte[] result = cursor.getBlob(3);//my image is stored as blob in db at 3
                Bitmap bmp = BitmapFactory.decodeByteArray(result, 0, result.length);
                ImageView im=(ImageView)findViewById(R.id.icon);
                im.setImageBitmap(bmp);
               return true;
            }

        }
        catch(Exception e)
        {
            Toast.makeText(Listmain.this, e.toString()+" err", Toast.LENGTH_LONG).show();
        }
        return false;
    }
}

```