fun areItemsTheSame(oldItem: Transaction, newItem: Transaction): Boolean
Checks if two Transactions have the same id.
oldItem
- The old Transaction.
newItem
- The new Transaction.
Return
true if both Transactions have the same id or false otherwise.