コード例 #1
0
 public CollectiveMissionContactsAdapter(
     Context context,
     int resource,
     List<ShareContactWrapper> objects,
     String missionId,
     boolean multipleSelection,
     ItemCheckedCallback callback) {
   super(context, resource, objects);
   mContext = context;
   mObjects = objects;
   mMultipleSelection = multipleSelection;
   mCallback = callback;
   mMissionId = missionId;
   mAlreadyInvited = DataStore.getStringList(context, "collective_invited_friends_" + missionId);
 }
コード例 #2
0
 @Override
 public void notifyDataSetChanged() {
   mAlreadyInvited = DataStore.getStringList(mContext, "collective_invited_friends_" + mMissionId);
   super.notifyDataSetChanged();
 }