MvvmCross 7.0.0

A new MvvmCross version is available on NuGet! You can always find the latest changelog in the root of the repository to see what has changed between versions.

This major release is due to switching out a lot of the inner workings on the Android platform with AndroidX packages. We have removed the support for using Fragments that come with Android and all types are now using Activities and Fragments from AndroidX. This means, that we have breaking changes.

Package changes

Some packages are deprecated and have been moved into the main MvvmCross package. See the overview in the table below.

Old Package New Package
MvvmCross.Android.Support.Core.UI MvvmCross.DroidX.SwipeRefreshLayout
MvvmCross.Android.Support.Design MvvmCross.DroidX.Material
MvvmCross.Android.Support.Fragment MvvmCross
MvvmCross.Android.Support.V17.Leanback MvvmCross.DroidX.Leanback
MvvmCross.Android.Support.V7.AppCompat MvvmCross
MvvmCross.Android.Support.V7.Preference MvvmCross
MvvmCross.Android.Support.V7.RecyclerView MvvmCross.DroidX.RecyclerView

Type and namespace changes

Old type New type
MvvmCross.Droid.Support.V4.MvxFragment MvvmCross.Platforms.Android.Views.Fragments.MvxFragment
MvvmCross.Droid.Support.V4.MvxDialogFragment MvvmCross.Platforms.Android.Views.Fragments.MvxDialogFragment
MvvmCross.Droid.Support.V4.MvxSwipeRefreshLayout MvvmCross.DroidX.MvxSwipeRefreshLayout
MvvmCross.Droid.Support.V7.RecyclerView MvvmCross.DroidX.RecyclerView
MvvmCross.Droid.Support.V7.RecyclerViewAdapter MvvmCross.DroidX.RecyclerViewAdapter
MvvmCross.Droid.Support.V7.RecyclerViewHolder MvvmCross.DroidX.RecyclerViewHolder
MvvmCross.Droid.Support.V7.AppCompat.MvxAppCompatActivity MvvmCross.Platforms.Android.Views.MvxActivity
MvvmCross.Droid.Support.V7.AppCompat.MvxAppCompatDialogFragment MvvmCross.Platforms.Android.Views.Fragments.MvxDialogFragment
MvvmCross.Droid.Support.V7.AppCompat.MvxSplashScreenAppCompatActivity MvvmCross.Platforms.Android.Views.MvxSplashScreenActivity
MvvmCross.Droid.Support.V7.AppCompat.MvxAppCompatSetup MvvmCross.Platforms.Android.Core.MvxAndroidSetup
MvvmCross.Droid.Support.V7.AppCompat.MvxAppCompatViewPresenter MvvmCross.Platforms.Android.Presenters.MvxAndroidViewPresenter
MvvmCross.Droid.Support.V7.AppCompat.Widget.* MvvmCross.Platforms.Android.Binding.Views.*
MvvmCross.Droid.Support.V7.AppCompat.MvxActionBarDrawerToggle MvvmCross.Platforms.Android.Views.AppCompat.MvxActionBarDrawerToggle
MvvmCross.Droid.Support.Design.MvxBottomSheetDialogFragment MvvmCross.DroidX.Material.MvxBottomSheetDialogFragment
MvvmCross.Droid.Support.V14.Preference.MvxPreferenceFragment MvvmCross.Platforms.Android.Views.Fragments.MvxPreferenceFragment
MvvmCross.Android.Support.V17.Leanback.* MvvmCross.DroidX.Leanback.*

Removal of monodroid9.0 TFM

All packages now target monodroid10.0, if you have issues updating, make sure you are targeting Android 10 or newer.

Thanks

We would like to thank all the people involved in making all the changes for MvvmCross 7.0.0, all changes from small documentation changes to bigger feature Pull Requests are much appreciated.

Change Log

7.0.0 (2020-08-14)

Full Changelog

Breaking changes:

Implemented enhancements:

  • Binding : Binding Set Creation #3693

Fixed bugs:

  • MvxIosViewPresenter fails to close all modal ViewControllers #3826
  • EXC_BAD_ACCESS on MvxPathSourceStep.ClearPathSourceBinding #3784
  • Conflict calls to SaveAsync() in MvxSuspensionManager #3772
  • Exception Java.Lang.NoSuchMethodError: no method with name=’isDestroyed’ occurs on API 16 #3727
  • Use dedicated object to acquire lock #3810 (Cheesebaron)
  • Fix NoSuchMethodError exception when calling IsDestroyed #3729 (Cheesebaron)
  • Fix rethrowing exceptions #3683 (sm-g)

Closed issues:

  • Mistake in documentation #3690

Merged pull requests: