1. 26 6月, 2020 1 次提交
    • B
      Add reporting when the app is fully drawn to the framework (#351) · b428d2be
      benbaxter 提交于
      * Report fully drawn in the main/home activity
      
      The Feed is the main view that launches when the app opens (after onboarding). Once the feed items are fetched, we post reporting fully drawn until after the recycler view finishes drawing the items.
      
      Activity#reportFullyDrawn() prints a log statement that looks like this:
      I/ActivityTaskManager: Fully drawn com.google.samples.apps.iosched/.ui.MainActivity: +3s493ms
      
      Reporting fulling drawn from onboarding and deeplinking into SessionDetails will be in follow up CLs.
      
      Bug: 158839978
      Test: Manually check for the log statement from the framework
      Change-Id: I5d4f6f2f93aaa7f0edcc12442d6b30d87dc76107
      
      * Report fully drawn from SessionDetailActivity
      
      When a user opens a deeplink into the session details, we should report when the screen has been fully drawn.
      
      Activity#reportFullyDrawn() prints a log statement that looks like this:
      I/ActivityTaskManager: Fully drawn com.google.samples.apps.iosched/.ui.sessiondetail.SessionDetailActivity: +516ms
      
      Change-Id: Ib2b8ad08a6a7b8a7459e9412f2ebb180991a3f0c
      
      * Report fully drawn from OnboardingActivity
      
      Depending on the time, we have several entrance onboarding screens presented to the user. The content in hardcoded so we can report fully drawn as soon as the views are rendered.
      
      Activity#reportFullyDrawn() prints a log statement that looks like this:
      I/ActivityTaskManager: Fully drawn com.google.samples.apps.iosched/.ui.onboarding.OnboardingActivity: +3s87ms
      
      Change-Id: I1295ae041560da539475630726bb0ce71aa470b4
      
      * Use EventObserver instead when observing fullyDrawn
      
      Change-Id: I2d53bba09839548df4eabcdcae060d8398b98327
      
      * Clean up comment around reportFullyDrawn()
      
      Change-Id: I2955ae253ac49c2d8478263ea05ebc8e3c98f648
      
      * Address minor comments from jdkoren
      
      Change-Id: Ifb619989923890c6d453f416659c81fabe10105d
      
      * Call reportFullyDrawn directly on the activity form the fragment
      
      Change-Id: I36b4252fa779a2479d8d9106d3a6ea28888e0ef9
      
      * Removed unused imports
      
      Change-Id: Id7402173643b953526d2c69923330df49100cae2
      b428d2be
  2. 11 6月, 2020 6 次提交
  3. 10 6月, 2020 33 次提交