문제

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.

도움이 되었습니까?

해결책

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...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top