diff --git a/MvvmCross/Droid/Droid/Views/MvxActivityViewExtensions.cs b/MvvmCross/Droid/Droid/Views/MvxActivityViewExtensions.cs index a62549891b..9de10d1776 100644 --- a/MvvmCross/Droid/Droid/Views/MvxActivityViewExtensions.cs +++ b/MvvmCross/Droid/Droid/Views/MvxActivityViewExtensions.cs @@ -45,7 +45,7 @@ public static void OnViewCreate(this IMvxAndroidView androidView, Bundle bundle) var cache = Mvx.Resolve(); var cached = cache.GetAndClear(bundle); - var view = androidView as IMvxView; + var view = (IMvxView)androidView; var savedState = GetSavedStateFromBundle(bundle); view.OnViewCreate(() => cached ?? androidView.LoadViewModel(savedState)); }