The MarkChat.Name.get() returns the same value for all your list items. 
That is causing the name to be the same for all items. It should return the 
name based on the "position" of the item in the adapter.

Also, as Justin noted, your ViewHolder usage seems to be incorrect. Try 
something like below:

*if* (convertView == null) {
h = new ViewHolder();
v = mInflater.inflate(R.layout.oddbubble, null);
h.title = (TextView) v.findViewById(R.id.BuddyTitle);
h.body = (TextView) v.findViewById(R.id.BuddyMessage);
v.setTag(h);
} *else* {
    h = convertView.getTag();
}
h.body.setText(groupsMessage.get(position));
h.title.setText(MarkChat.Name.get(position));

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to