app / de.uniks.codliners.stock_simulator.ui.stockbrot / StockbrotQuoteListAdapter / areItemsTheSame

areItemsTheSame

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

Checks if two StockbrotQuotes have the same id.

Parameters

oldItem - The old StockbrotQuote.

newItem - The new StockbrotQuote.

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