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); }
@Override public void notifyDataSetChanged() { mAlreadyInvited = DataStore.getStringList(mContext, "collective_invited_friends_" + mMissionId); super.notifyDataSetChanged(); }