C# 클래스 InTheHand.Platform.Android.ContextManager

파일 보기 프로젝트 열기: inthehand/Charming

공개 메소드들

메소드 설명
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.

메소드 상세

SetCurrentContext() 공개 정적인 메소드

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.
리턴 void