@Override public View getView(int position, View convertView, ViewGroup parent) { View v = convertView; if (v == null) { LayoutInflater vi = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE); v = vi.inflate(R.layout.inbox_row, null); } SMILMessageProxy o = inbox.get(position); // Log.w("getView", "o name: " + o.getName()); wtf is this if (o != null) { TextView ttl = (TextView) v.findViewById(R.id.topinboxtextL), ttr = (TextView) v.findViewById(R.id.topinboxtextR), middle = (TextView) v.findViewById(R.id.middleinboxtext), bottom = (TextView) v.findViewById(R.id.bottominboxtext); // btr = (TextView) v.findViewById(R.id.bottomtextright), if (ttl != null) { ttl.setText("Name: " + o.getFilename()); } if (ttr != null) { if (o.getModified() != null) { ttr.setText( "Date: " + String.valueOf(o.getModified().getDay()) + "/" + String.valueOf(o.getModified().getMonth())); } else { ttr.setText("Date: ##/##"); } } if (middle != null) { middle.setText("Sender: " + o.getSender()); } if (bottom != null) { bottom.setText("Subject: " + o.getMessage()); } if (!o.isRead()) { ttl.setTypeface(null, Typeface.BOLD); ttr.setTypeface(null, Typeface.BOLD); middle.setTypeface(null, Typeface.BOLD); bottom.setTypeface(null, Typeface.BOLD); } } return v; }