C# Class InTheHand.Platform.Android.ContextManager

Afficher le fichier Open project: inthehand/Charming

Méthodes publiques

Méthode Description
SetCurrentContext ( Android.Content.Context c ) : void

Sets a reference to the current android Context (usually the executing Activity)

For Xamarin Forms you can set using Xamarin.Forms.Forms.Context. For Xamarin.Android call this method in your MainActivity.

Method Details

SetCurrentContext() public static méthode

Sets a reference to the current android Context (usually the executing Activity)
For Xamarin Forms you can set using Xamarin.Forms.Forms.Context. For Xamarin.Android call this method in your MainActivity.
public static SetCurrentContext ( Android.Content.Context c ) : void
c Android.Content.Context The current Activity Context.
Résultat void