app / de.uniks.codliners.stock_simulator.ui.achievements / AchievementsAdapter / areItemsTheSame

areItemsTheSame

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

Checks if two Achievements have the same id.

Parameters

oldItem - The old Achievement.

newItem - The new Achievement.

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