Searched refs:mNewCards (Results 1 – 3 of 3) sorted by relevance
29 private final List<ContextualCard> mNewCards; field in ContextualCardsDiffCallback34 mNewCards = newCards; in ContextualCardsDiffCallback()44 return mNewCards.size(); in getNewListSize()50 mNewCards.get(newCardPosition).getName()); in areItemsTheSame()57 if (mNewCards.get(newCardPosition).hasInlineAction()) { in areContentsTheSame()60 return mOldCards.get(oldCardPosition).equals(mNewCards.get(newCardPosition)); in areContentsTheSame()
39 private List<ContextualCard> mNewCards; field in ContextualCardsDiffCallbackTest44 mNewCards = new ArrayList<>(); in setUp()46 mNewCards.add(getContextualCard("test1")); in setUp()47 mNewCards.add(getContextualCard("test2")); in setUp()48 mDiffCallback = new ContextualCardsDiffCallback(mOldCards, mNewCards); in setUp()82 mNewCards.add(0, card); in areContentsTheSame_sliceWithToggle_returnFalse()
30 private final List<ContextualCard> mNewCards; field in ContextualCardsDiffCallback35 mNewCards = newCards; in ContextualCardsDiffCallback()45 return mNewCards.size(); in getNewListSize()51 mNewCards.get(newCardPosition).getName()); in areItemsTheSame()56 return mOldCards.get(oldCardPosition).equals(mNewCards.get(newCardPosition)); in areContentsTheSame()