i wan't to display the last 10 sms from my inbox with the contactphoto. I've got a SimpleCursorAdapter for a ListView, which loads an XML-Layout with various TextViews and an ImageView.
Using java Syntax Highlighting
- SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,R.layout.sms_row,c,columns, to);
- adapter.setViewBinder(new SmsViewBinder(this, false));
Parsed in 0.029 seconds, using GeSHi 1.0.8.4
SmsViewBinder implements the SimpleCursorAdapter.ViewBinder but I can't access the ImageView
Using java Syntax Highlighting
- public boolean setViewValue(View view, Cursor cursor, int columnIndex) {
- Log.v("instanceof","-"+view.getClass());
- }
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
Log:
- class android.widget.TextView
- class android.widget.TextView
- class android.widget.TextView
...
No ImageViews
Can somebody help?

