FileDocCategorySizeDatePackage
SingleRecipientArrayAdapter.javaAPI DocAndroid 5.1 API1983Thu Mar 12 22:22:50 GMT 2015com.android.ex.chips

SingleRecipientArrayAdapter

public class SingleRecipientArrayAdapter extends android.widget.ArrayAdapter

Fields Summary
private final DropdownChipLayouter
mDropdownChipLayouter
private final android.graphics.drawable.StateListDrawable
mDeleteDrawable
Constructors Summary
public SingleRecipientArrayAdapter(android.content.Context context, RecipientEntry entry, DropdownChipLayouter dropdownChipLayouter)

        this(context, entry, dropdownChipLayouter, null);
    
public SingleRecipientArrayAdapter(android.content.Context context, RecipientEntry entry, DropdownChipLayouter dropdownChipLayouter, android.graphics.drawable.StateListDrawable deleteDrawable)

        super(context,
                dropdownChipLayouter.getAlternateItemLayoutResId(AdapterType.SINGLE_RECIPIENT),
                new RecipientEntry[] { entry });

        mDropdownChipLayouter = dropdownChipLayouter;
        mDeleteDrawable = deleteDrawable;
    
Methods Summary
public android.view.ViewgetView(int position, android.view.View convertView, android.view.ViewGroup parent)

        return mDropdownChipLayouter.bindView(convertView, parent, getItem(position), position,
                AdapterType.SINGLE_RECIPIENT, null, mDeleteDrawable);