private MessageListView renderConversation(ConversationInfo convInfo,View parent){
  MessageListView list=new MessageListView(parent.getContext());
  convInfo.view=list;
  list.setOnItemClickListener(MessageClickListener.getInstance());
  MessageListAdapter adapter=convInfo.adapter;
  if (adapter == null) {
    adapter=new MessageListAdapter(convInfo.conv,parent.getContext());
    convInfo.adapter=adapter;
  }
  list.setAdapter(adapter);
  list.setSelection(adapter.getCount() - 1);
  return list;
}

private MessageListView renderConversation ( ConversationInfo convInfo , View parent ) { MessageListView list = new MessageListView ( parent . getContext ( ) ) ; convInfo . view = list ; list . setOnItemClickListener ( MessageClickListener . getInstance ( ) ) ; MessageListAdapter adapter = convInfo . adapter ; if ( adapter == null ) { adapter = new MessageListAdapter ( convInfo . conv , parent . getContext ( ) ) ; convInfo . adapter = adapter ; } list . setAdapter ( adapter ) ; list . setSelection ( adapter . getCount ( ) - 1 ) ; return list ; }
render the given conversation and return the new view .
