MVVM-C Architecture with Dependency Injection + Testing

A complete example

Steven Curtis
6 min readJul 15, 2020

--

Photo by Jonathan Riley on Unsplash

I’ve been using MVVM-C for quite some time. I’m sure you (probably, I don’t know you) agree that by abstracting the navigation away from the main MVVM architecture code gives you the opportunity for testing. Great!

What if you have multiple dependencies? How are these going to be injected into your…wait…

--

--