Skip to content

Cheesebaron/OldMvvmCross-Android10

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Samples showing how target Android 10 with old MvvmCross versions

MvvmCross versions prior to version 6.4.1 do not support Android 10, due to some missing implementations in MvxLayoutInflater.

This sample show how to patch MvxLayoutInflater, MvxContextWrapper and MvxActivity such that they can target Android 10.

Read more about the issue here: https://blog.ostebaronen.dk/2020/08/old-mvvmcross-and-android-10.html

All the bits containing the fixes are in the classes starting with Fixed. This includes

  • FixedLayoutInflaterCompat
  • FixedLayoutInflater
  • FixedContextWrapper
  • FixedActivity

Feel free to copy/paste the code into your own App.

About

Samples showing how to adapt old MvvmCross apps to run on Android 10

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages