When does onCreate() function of ContentProvider will be called?
First time when any client calls that content provider.
First time when the application containing that content provider is loaded into the memory, it will be called.
After phone boots up Android will call onCreate() of all content providers in the phone.
onCreate() will be called every time if some client calls any DML functions on this content provider.
onCreate() will be called when the application containing the content provider is loaded into the memory for the first time.
Back To Top