bstih
bstih

Reputation: 43

Change page transition animation in Xamarin Forms with Prism

Is it possible to change page transition animation in Xamarin Forms with Prism's INavigationService? I'd like to have fade animation on Android, like when using default Xamarin Forms PushAsync/PopAsync mechanism, or at least left/right sliding instead of up/down.

Upvotes: 4

Views: 11564

Answers (1)

user5420778
user5420778

Reputation:

Prism uses Xamarin.Forms built-in PushAsync/PopAsync methods. This also means it uses the default XF animations automatically. If you want custom animations, this is not something that Prism is not responsible for.

Now building custom page transitions in XF isn't very clear cut. Here are a couple of links that should get you going in the ight direction.

https://forums.xamarin.com/discussion/18818/custom-page-transitions-with-xamarin-forms/p1

https://kernel32.net/2016/06/25/xamarin-forms-transitions.html

Good luck!

Upvotes: 6

Related Questions