Skip to content

Commit

Permalink
correction on areListSame
Browse files Browse the repository at this point in the history
  • Loading branch information
subhajitxyz committed Jan 11, 2025
1 parent d7c1fd0 commit ae3784d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -465,18 +465,20 @@ class StateFragmentPresenter @Inject constructor(
if (l.size != r.size) {
return false
}
return l.zip(r).all { (x, y) ->
val allSame = l.zip(r).all { (x, y) ->
if (x.viewType != y.viewType) {
return false
}
val same = x.areContentsTheSame(y)
Log.d("testhint",same.toString())
return same
Log.d("testhint", same.toString())
same
}
return allSame
}




/** Subscribes to the result of requesting to show a hint or solution. */
private fun subscribeToHintSolution(resultDataProvider: DataProvider<Any?>) {
resultDataProvider.toLiveData().observe(
Expand Down

0 comments on commit ae3784d

Please sign in to comment.