@@ -0,0 +1,1155 @@
+package ca.ualberta.cs.cmput301f14t14.questionapp.view;%0A%0Aimport java.util.List;%0A%0Aimport ca.ualberta.cs.cmput301f14t14.questionapp.R;%0Aimport ca.ualberta.cs.cmput301f14t14.questionapp.model.Comment;%0Aimport android.content.Context;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.ArrayAdapter;%0Aimport android.widget.TextView;%0A%0Apublic class CommentListAdapter extends ArrayAdapter%3CComment%3E implements IView %7B%0A%0A%09public CommentListAdapter(Context context, int resource, List%3CComment%3E objects) %7B%0A%09%09super(context, resource, objects);%0A%09%7D%0A%0A%09public View getView(int position, View convertView, ViewGroup parent) %7B%0A%09%09if (convertView == null) %7B%0A%09%09%09convertView = LayoutInflater.from(getContext()).inflate(R.layout.list_comment, parent, false);%0A%09%09%7D%0A%09%09%0A%09%09Comment c = getItem(position);%0A%09%09TextView cText = (TextView) convertView.findViewById(R.id.comment_body);%0A%09%09TextView cAuthor = (TextView) convertView.findViewById(R.id.comment_username);%0A%09%09cText.setText(c.getBody());%0A%09%09cAuthor.setText(c.getUserName());%0A%09%09%0A%09%09return convertView;%0A%09%7D%0A%0A%09@Override%0A%09public void update() %7B%0A%09%09notifyDataSetChanged();%0A%09%7D%0A%0A%7D%0A

Add comment list adapter class.