Open Bug 2094573 Opened 8 days ago Updated 8 days ago

Merge OnboardingScreen page change callbacks

Categories

(Firefox for Android :: Onboarding, task)

All
Android
task
Points:
1

Tracking

()

ASSIGNED

People

(Reporter: corentin, Assigned: corentin)

References

(Depends on 1 open bug)

Details

(Whiteboard: [fxdroid][android-activation-trust])

OnboardingScreen takes 3 callbacks that all react to the pager showing a page:

  • onImpression
  • currentIndex
  • onNavigateToNextPage

Each is called by a separate LaunchedEffect.

Merging the callbacks and the LaunchedEffects would fix LongParameterList and LongMethod Detekt issues.

You need to log in before you can comment on or make changes to this bug.