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

areContentsTheSame

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

Checks if two StockbrotQuotes are equal.

Parameters

oldItem - The old StockbrotQuote.

newItem - The new StockbrotQuote.

Return
true if both StockbrotQuotes are equal or false otherwise.