Share via


MockContentProvider.OnCreate Method

Definition

Implement this to initialize your content provider on startup.

[Android.Runtime.Register("onCreate", "()Z", "GetOnCreateHandler")]
public override bool OnCreate ();
[<Android.Runtime.Register("onCreate", "()Z", "GetOnCreateHandler")>]
override this.OnCreate : unit -> bool

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to