sameContent method

bool sameContent (
  1. T listA,
  2. int indexA,
  3. T listB,
  4. int indexB
)

Compares the indexA of listA with the indexB of listB and returns true is they have the same content. This method is called after sameItem returned true, so this method tells if the same item has changed in its content, then a changing notification will be sent to the controller.

Implementation

bool sameContent(T listA, int indexA, T listB, int indexB);