app / de.uniks.codliners.stock_simulator.ui.search / SymbolListAdapter / areItemsTheSame

areItemsTheSame

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

Checks if two Symbols have the same id.

Parameters

oldItem - The old Symbol.

newItem - The new Symbol.

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