bryan
06/18/2019, 10:16 PMsuspend functions. If I want to log, say, which screen the user opened then I’ll want to call one of those suspend functions from the library. However, if I’m calling from onCreate in an Activity, what coroutine scope do I want to use? I want the analytics to get recorded and not canceled if the Activity is destroyed.Nicole
06/19/2019, 12:53 AMProcessLifecycleOwner as the coroutine scope.itnoles
06/19/2019, 1:53 AM