diff options
author | Mindy Pereira <mindyp@google.com> | 2011-06-09 11:52:48 -0700 |
---|---|---|
committer | Mindy Pereira <mindyp@google.com> | 2011-06-09 13:48:41 -0700 |
commit | 7a424984849627457aa27ac19c0d23cbe0887c85 (patch) | |
tree | c79e876c46be485f21894b39b82f0cf66f710440 /chips/src/com/android/ex/chips/BaseRecipientAdapter.java | |
parent | 83e4ae382ffbec673b16c85c35e3cfe19ada98dc (diff) | |
download | android_frameworks_ex-7a424984849627457aa27ac19c0d23cbe0887c85.tar.gz android_frameworks_ex-7a424984849627457aa27ac19c0d23cbe0887c85.tar.bz2 android_frameworks_ex-7a424984849627457aa27ac19c0d23cbe0887c85.zip |
Small changes to make this more easily integrated into apps.
1) created interface for old adapter and new adapter
to implement so they can be used interchangeable
2) did null checks for chips when getting data/ contacdt ids
Change-Id: I7f47230c5cf35426b73b477f374641b271455411
Diffstat (limited to 'chips/src/com/android/ex/chips/BaseRecipientAdapter.java')
-rw-r--r-- | chips/src/com/android/ex/chips/BaseRecipientAdapter.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chips/src/com/android/ex/chips/BaseRecipientAdapter.java b/chips/src/com/android/ex/chips/BaseRecipientAdapter.java index 811c120..dc96075 100644 --- a/chips/src/com/android/ex/chips/BaseRecipientAdapter.java +++ b/chips/src/com/android/ex/chips/BaseRecipientAdapter.java @@ -58,7 +58,8 @@ import java.util.Set; /** * Adapter for showing a recipient list. */ -public abstract class BaseRecipientAdapter extends BaseAdapter implements Filterable { +public abstract class BaseRecipientAdapter extends BaseAdapter implements Filterable, + AccountSpecificAdapter { private static final String TAG = "BaseRecipientAdapter"; private static final boolean DEBUG = false; |