You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project is built around fragments and fragment navigation, all contained within a single main activity. We're also utilizing a ComposeView in the fragments, with all content housed within it. Is it possible to use this library to get the Frames, Time to First Render (TTFR), and Time to Interactive (TTI) metrics in this scenario?
thanks!
The text was updated successfully, but these errors were encountered:
For Measuring TTI & TTFR for Fragments you can try to leverage FragmentTtfrHelper in a way similar to ActivityTtfrHelper, but just registering it as a FragmentLifecycleCallbacks inside your main single activity.
Regarding Compose-support: it's in progress but not yet finalized, we will do our best to add it soon. However if in your app you mostly represent "screens" with Fragments and use Compose to build layouts inside these fragments, I assume FragmentTtfrHelper should do the job in your case.
Hope this helps a bit and please let me know that worked for you or there is any edge case that should be handled 🙏
UPD: I've also update readme accordingly, since this use-case wasn't mentioned in the documentation. Thanks for the feedback
Hey!
My project is built around fragments and fragment navigation, all contained within a single main activity. We're also utilizing a ComposeView in the fragments, with all content housed within it. Is it possible to use this library to get the Frames, Time to First Render (TTFR), and Time to Interactive (TTI) metrics in this scenario?
thanks!
The text was updated successfully, but these errors were encountered: