Question

When binding iOS storyboard to the core library I get problem. Currently the Android app that uses the same core PCL works well.

My problem is to register a singleton:

Mvx.RegisterSingleton<IFoo>(new ChangeFoo());

I get the message

"The name 'Mvx' does not exist in the current context"

I think I am missing something simple here.

Était-ce utile?

La solution

Try

using Cirrious.CrossCore;

If you don't have it you can add it from "Manage NuGet packages..." under your project->References. I assume you are familiar with this since you already got the Android App to work...

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top