public class

MessageListAdapter

extends CursorAdapter
java.lang.Object
   ↳ android.widget.BaseAdapter
     ↳ android.widget.CursorAdapter
       ↳ com.android.mms.ui.MessageListAdapter

Class Overview

The back-end data adapter of a message list.

Summary

Nested Classes
class MessageListAdapter.ColumnsMap  
interface MessageListAdapter.OnDataSetChangedListener  
[Expand]
Inherited Constants
From class android.widget.CursorAdapter
From interface android.widget.Adapter
Fields
protected LayoutInflater mInflater
Public Constructors
MessageListAdapter(Context context, Cursor c, ListView listView, boolean useDefaultColumnsMap, Pattern highlight)
Public Methods
void bindView(View view, Context context, Cursor cursor)
MessageItem getCachedMessageItem(String type, long msgId, Cursor c)
View newView(Context context, Cursor cursor, ViewGroup parent)
void notifyDataSetChanged()
void notifyImageLoaded(String address)
void setMsgListItemHandler(Handler handler)
void setOnDataSetChangedListener(MessageListAdapter.OnDataSetChangedListener l)
Protected Methods
void onContentChanged()
[Expand]
Inherited Methods
From class android.widget.CursorAdapter
From class android.widget.BaseAdapter
From class java.lang.Object
From interface android.widget.Adapter
From interface android.widget.Filterable
From interface android.widget.ListAdapter
From interface android.widget.SpinnerAdapter

Fields

protected LayoutInflater mInflater

Public Constructors

public MessageListAdapter (Context context, Cursor c, ListView listView, boolean useDefaultColumnsMap, Pattern highlight)

Public Methods

public void bindView (View view, Context context, Cursor cursor)

public MessageItem getCachedMessageItem (String type, long msgId, Cursor c)

public View newView (Context context, Cursor cursor, ViewGroup parent)

public void notifyDataSetChanged ()

public void notifyImageLoaded (String address)

public void setMsgListItemHandler (Handler handler)

public void setOnDataSetChangedListener (MessageListAdapter.OnDataSetChangedListener l)

Protected Methods

protected void onContentChanged ()