fun areContentsTheSame(oldItem: Transaction, newItem: Transaction): Boolean
Checks if two Transactions are equal.
oldItem - The old Transaction.
oldItem
newItem - The new Transaction.
newItem
Return true if both Transactions are equal or false otherwise.