Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
masonyc committed Feb 1, 2019
2 parents 4bc5b2b + 157592b commit 37027a8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ This effect allows user to show/hide softkeyboard on Android/iOS platform in Xam
base.OnCreate(savedInstanceState);
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);

Xamarin.EnableKeyboardEffect.Droid.Effects.Init(this);//need this line to init effect in android
//need this line to init effect in android
Xamarin.EnableKeyboardEffect.Platform.Droid.Effects.Init(this);

LoadApplication(new App());
}
Expand All @@ -43,9 +44,10 @@ This effect allows user to show/hide softkeyboard on Android/iOS platform in Xam
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();

Xamarin.EnableKeyboardEffect.iOS.Effects.Init();//need this line to init effect in iOS

//need this line to init effect in iOS
Xamarin.EnableKeyboardEffect.Platform.iOS.Effects.Init();

LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
Expand Down Expand Up @@ -97,6 +99,8 @@ This effect allows user to show/hide softkeyboard on Android/iOS platform in Xam

Only support Android and iOS for the moment.

Android note: Entry that get focused by calling .Focus() method may still cause keyboard not hiding properly.

# Contributing

Contributions are welcome. Feel free to file issues and pull requests on the repo and they'll be reviewed as time permits.
Expand Down

0 comments on commit 37027a8

Please sign in to comment.