Ameer Amjed
12/01/2024, 6:59 AMtom
12/01/2024, 7:19 AMdebounce
or sample
in Flow for grouping events, i wish it is helpful for your problem.MR3Y
12/01/2024, 11:01 AMdropUnlessResumed
. Sample:
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:lifecycl[…]opUnlessResumed&ss=androidx%2Fplatform%2Fframeworks%2FsupportStylianos Gakis
12/01/2024, 12:09 PMAmeer Amjed
12/01/2024, 7:09 PMdropUnlessResumed
only with navigation?
What about situations where I need to click to send an event, and I need to handle that from the UI or display an element? @MR3Y @Stylianos GakisMR3Y
12/01/2024, 7:20 PMMR3Y
12/01/2024, 7:32 PMStylianos Gakis
12/01/2024, 7:43 PMStylianos Gakis
12/01/2024, 7:45 PMAmeer Amjed
12/12/2024, 4:40 PMfun openUrl(context: Context, url: String) {}
Ameer Amjed
12/12/2024, 4:42 PMonPrivacyPolicyClicked = {
openUrl(context, PRIVACY_POLICY_URL)
}
Stylianos Gakis
12/12/2024, 4:45 PMAmeer Amjed
12/12/2024, 4:52 PMdropUnlessResumed
used with navigation in an example.Ameer Amjed
12/12/2024, 4:54 PMStylianos Gakis
12/12/2024, 4:59 PM