DEV Community

loading...

Discussion on: Android Vitals - Rising to the first drawn surface 🤽‍♂️

Collapse
androiddeveloperlb profile image
AndroidDeveloperLB

Isn't "creating the main thread" before "creating the app object" ?
That's how some dependencies start before the app, no?

Collapse
pyricau profile image
Py ⚔ Author • Edited

Absolutely, the main thread is the first thread created so that happens before the Application instance is created. I'm not certain what the Android documentation is trying to convey here, it's likely wrong or maybe to very clear.

Collapse
androiddeveloperlb profile image
AndroidDeveloperLB

So, the diagram doesn't seem right, and that's the first thing I read...

Thread Thread
pyricau profile image
Py ⚔ Author

I was trying to show what the doc says vs what's actually happening. I guess I could have added a "please read the words above and below this diagram" header 😉

Thread Thread
androiddeveloperlb profile image
AndroidDeveloperLB

Oh sorry for that

Thread Thread
androiddeveloperlb profile image
AndroidDeveloperLB

Can you please show the original of those mistakes?
Maybe you should report it to Google:
issuetracker.google.com/issues

Thread Thread
pyricau profile image
Py ⚔ Author

The link is right there in the blog post :) developer.android.com/topic/perfor...

Thread Thread
androiddeveloperlb profile image
AndroidDeveloperLB

ok

Thread Thread
androiddeveloperlb profile image
AndroidDeveloperLB

I think I know why I missed it. I use an addon to make all websites in dark, and thus the link text looks exactly like normal one, so I didn't notice there is a link....