Searched refs:mOldCards (Results 1 – 3 of 3) sorted by relevance
29 private final List<ContextualCard> mOldCards; field in ContextualCardsDiffCallback34 mOldCards = oldCards; in ContextualCardsDiffCallback()40 return mOldCards.size(); in getOldListSize()50 return mOldCards.get(oldCardPosition).getName().equals( in areItemsTheSame()56 return mOldCards.get(oldCardPosition).equals(mNewCards.get(newCardPosition)); in areContentsTheSame()
28 private final List<ContextualCard> mOldCards; field in ContextualCardsDiffCallback33 mOldCards = oldCards; in ContextualCardsDiffCallback()39 return mOldCards.size(); in getOldListSize()49 return mOldCards.get(oldCardPosition).getName().equals( in areItemsTheSame()60 return mOldCards.get(oldCardPosition).equals(mNewCards.get(newCardPosition)); in areContentsTheSame()
38 private List<ContextualCard> mOldCards; field in ContextualCardsDiffCallbackTest43 mOldCards = new ArrayList<>(); in setUp()45 mOldCards.add(getContextualCard("test1")); in setUp()48 mDiffCallback = new ContextualCardsDiffCallback(mOldCards, mNewCards); in setUp()68 mOldCards.add(getContextualCard("test3")); in areItemsTheSame_differentItems_returnFalse()