public class

RecipientsAdapter

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

Class Overview

This adapter is used to filter contacts on both name and number.

Summary

Constants
int CONTACT_ID_INDEX
int LABEL_INDEX
int NAME_INDEX
int NUMBER_INDEX
int TYPE_INDEX
[Expand]
Inherited Constants
From class android.widget.CursorAdapter
From interface android.widget.Adapter
Public Constructors
RecipientsAdapter(Context context)
Public Methods
final void bindView(View view, Context context, Cursor cursor)
final CharSequence convertToString(Cursor cursor)
Cursor runQueryOnBackgroundThread(CharSequence constraint)
[Expand]
Inherited Methods
From class android.widget.ResourceCursorAdapter
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

Constants

public static final int CONTACT_ID_INDEX

Constant Value: 1 (0x00000001)

public static final int LABEL_INDEX

Constant Value: 4 (0x00000004)

public static final int NAME_INDEX

Constant Value: 5 (0x00000005)

public static final int NUMBER_INDEX

Constant Value: 3 (0x00000003)

public static final int TYPE_INDEX

Constant Value: 2 (0x00000002)

Public Constructors

public RecipientsAdapter (Context context)

Public Methods

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

public final CharSequence convertToString (Cursor cursor)

public Cursor runQueryOnBackgroundThread (CharSequence constraint)