app / de.uniks.codliners.stock_simulator.ui.history / TransactionListAdapter / areItemsTheSame

areItemsTheSame

fun areItemsTheSame(oldItem: Transaction, newItem: Transaction): Boolean

Checks if two Transactions have the same id.

Parameters

oldItem - The old Transaction.

newItem - The new Transaction.

Return
true if both Transactions have the same id or false otherwise.