Removed synchronized list from MessageListAdapter

This commit is contained in:
Sebastian Kaspari 2010-03-21 15:29:42 +01:00
parent df86967d69
commit ac3fe7bb57
1 changed files with 2 additions and 4 deletions

View File

@ -20,9 +20,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
*/
package org.yaaic.adapter;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import org.yaaic.model.Conversation;
import org.yaaic.model.Message;
@ -40,7 +38,7 @@ import android.widget.TextView;
*/
public class MessageListAdapter extends BaseAdapter
{
private List<TextView> messages;
private LinkedList<TextView> messages;
private Context context;
/**
@ -51,7 +49,7 @@ public class MessageListAdapter extends BaseAdapter
*/
public MessageListAdapter(Conversation conversation, Context context)
{
this.messages = Collections.synchronizedList(new LinkedList<TextView>());
this.messages = new LinkedList<TextView>();
this.context = context;
// Render channel name as first message in channel