Searched refs:mOldCards (Results 1 – 2 of 2) sorted by relevance
31 private final List<ContextualCard> mOldCards; field in ContextualCardsDiffCallback36 mOldCards = oldCards; in ContextualCardsDiffCallback()42 return mOldCards.size(); in getOldListSize()52 return mOldCards.get(oldCardPosition).getName().equals( in areItemsTheSame()66 return mOldCards.get(oldCardPosition).equals(newCard); in areContentsTheSame()
40 private List<ContextualCard> mOldCards; field in ContextualCardsDiffCallbackTest45 mOldCards = new ArrayList<>(); in setUp()47 mOldCards.add(getContextualCard("test1")); in setUp()50 mDiffCallback = new ContextualCardsDiffCallback(mOldCards, mNewCards); in setUp()70 mOldCards.add(getContextualCard("test3")); in areItemsTheSame_differentItems_returnFalse()