Unfortunately we cannot control the order in which ContentProvider instances are created, so we may be missing some of the early startup code.
developer.android.com/guide/topics...
Android has an initOrder tag. The value is a simple integer, with higher numbers being initialized first.
<provider android:name=".AppStartListener" android:authorities="${applicationId}.appStartProvider" android:initOrder="2147483647" android:exported="false" />
Oh that's interesting, Looks like I missed this. Does it work?
Yes. it works.
Thanks for this great article series. we are instrumenting the time taken for each step in the production.
dev-to-uploads.s3.amazonaws.com/up...
Nice!
Blog updated:
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Unfortunately we cannot control the order in which ContentProvider instances are created, so we may be missing some of the early startup code.
developer.android.com/guide/topics...
Android has an initOrder tag. The value is a simple integer, with higher numbers being initialized first.
Oh that's interesting, Looks like I missed this. Does it work?
Yes. it works.
Thanks for this great article series. we are instrumenting the time taken for each step in the production.
dev-to-uploads.s3.amazonaws.com/up...
Nice!
Blog updated: