Oddbjørn Bakke

Results 50 comments of Oddbjørn Bakke

There might be some Fody plugins that can be used. However these works by changing the IL in the assemblies during build and inject code, so not exactly the same.

@jmoralesv then you have some options like JustMock and TypeMock, but they are sadly quite costly. As I understand they are both using the Profiling API, so they also work...

Another alternative, that also might be nicer to use when C# 7 comes out _(with the new Tuple deconstruction feature etc.)_. ``` csharp CoreMethods.PushPageModel(Tuple.Create(1, "a")); public override void Init(object initData)...

There is also another alternative that might work. If the PushPageModel can take a `Action`, then it should be possible to do something like: ``` csharp CoreMethods.PushPageModel((vm) => vm.Init("a", 1));...

Sounds like this would not scale easily. One navigation to the page would probarbly work fine, but when you can access a page from 3-4 others (or 100)... then I...

Thanks. I see this is a Xamarin bug. However if Xamarin never fixes this, FreshMvvm could probably compensate. At least for the double tap problem. Simple isPushing flag, would help...

This seems to work for my case, however it will ignore all other PushPage events until the one executing is finished. ``` private static int _isPushing = 0; public override...

Looks like others have the same problem (this from 2014): https://forums.xamarin.com/discussion/18184/bug-in-xamarin-forms-navigationpage-for-android

So I have looked a little on this one, and thought about some possible solutions. And I also see that this is a problem on iOS, but normally you won't...

I am working on a branch now: https://github.com/oddbear/FreshMvvm/tree/feature/navigation-command I am not 100% sure about the naming, and if using the CoreMethod directly is the best ide _(as you cannot do...