Skip to content

Commit

Permalink
correct
Browse files Browse the repository at this point in the history
  • Loading branch information
subhajitxyz committed Jan 11, 2025
1 parent ada55d8 commit 0ee2486
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,15 @@ class StateFragmentPresenter @Inject constructor(
// }

//approach 3
//if(recyclerViewAssembler.updateDataPair) {
if(ephemeralState.stateTypeCase == EphemeralState.StateTypeCase.PENDING_STATE &&
ephemeralState.pendingState.helpIndex.indexTypeCase == HelpIndex.IndexTypeCase.NEXT_AVAILABLE_HINT_INDEX) {
//do nothing
} else {
stateViewModel.itemList.clear()
stateViewModel.itemList += dataPair.first
stateViewModel.rightItemList.clear()
stateViewModel.rightItemList += dataPair.second
//}
}



Expand Down Expand Up @@ -627,6 +630,7 @@ class StateFragmentPresenter @Inject constructor(
} else {
when (helpIndex.indexTypeCase) {
HelpIndex.IndexTypeCase.NEXT_AVAILABLE_HINT_INDEX -> {

Log.d("testhint","observe when hint coming 1")
stateViewModel.setHintBulbVisibility(true)
setHintOpenedAndUnRevealed(true)
Expand Down

0 comments on commit 0ee2486

Please sign in to comment.