C# Class InTheHand.Platform.Android.ContextManager

Mostrar archivo Open project: inthehand/Charming

Public Methods

Method 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 method

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.
return void