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

areContentsTheSame

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

Checks if two Transactions are equal.

Parameters

oldItem - The old Transaction.

newItem - The new Transaction.

Return
true if both Transactions are equal or false otherwise.