Skip to content

Commit

Permalink
correct
Browse files Browse the repository at this point in the history
  • Loading branch information
subhajitxyz committed Jan 10, 2025
1 parent 7e99570 commit 454e37a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ class StateFragmentPresenter @Inject constructor(
// stateViewModel.rightItemList.clear()
// stateViewModel.rightItemList += dataPair.second
//}
val x = IsDataChangedforHintComing(stateViewModel.itemList, dataPair.first)
Log.d("testapproach", x.toString())

if (!IsDataChangedforHintComing(stateViewModel.itemList, dataPair.first)){
stateViewModel.itemList.clear()
Expand Down Expand Up @@ -446,6 +448,7 @@ class StateFragmentPresenter @Inject constructor(
//oldPreviousResponseHeader = 1
oldPreviousResponseHeaderViewmodel = it as PreviousResponsesHeaderViewModel
}
StateItemViewModel.ViewType.CONTINUE_NAVIGATION_BUTTON -> return false
else ->{
//do nothing
}
Expand Down

0 comments on commit 454e37a

Please sign in to comment.