Comments (9)
from sextant.
That means your code somehow made it to the master branch, as my branch is cut from the most recent master.
from sextant.
Hey @limefrogyank 👋,
Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider contributing financially.
https://opencollective.com/reactiveui
PS.: We offer
priority
support for all financial contributors. Don't forget to addpriority
label once you start contributing 😄
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms!
from sextant.
@limefrogyank Thanks for reporting this. I had some other issues that I resolved on Xamarin.iOS around PopToRoot
not too long ago. I will look into this and see if we can find a resolution.
The thought behind removing is to try and leave a ViewModel on the stack.
Is this really specific to Xamarin.Forms Android? I will try and reproduce it on iOS to be safe, as that seems an odd side effect.
from sextant.
@limefrogyank So I am trying to reproduce this, but no matter how many Red Pages I push on iOS, I don't see the problem. I have a branch GH189 where I am reproducing this. Can you verify that this code still produces an error on your side? I am moving to test Android now, just want to be sure my reproduction is correct.
from sextant.
Oh, you've got the changes I made already put into your branch. The original code for PopRootAndTick
was this:
IImmutableList<T> poppedStack = ImmutableList<T>.Empty;
if (stackSubject?.Value == null || !stackSubject.Value.Any())
{
throw new InvalidOperationException("Stack is empty.");
}
stackSubject
.Take(stackSubject.Value.Count - 1)
.Where(stack => stack != null)
.Subscribe(stack => poppedStack = stack.RemoveRange(stack.IndexOf(stack[0]), stack.Count - 1));
stackSubject.OnNext(poppedStack);
Yeah, that's the bad code...
from sextant.
@limefrogyank Can you verify master is fixed? Then I would argue we can close this and attach it to the PR that solved the problem.
from sextant.
This works fine for me. Sorry to slip that in unnoticed.
Fixed with dc23331
Right?
from sextant.
Yes. No worries about it. It was a big PR with a lot of files changed. Appreciate the contribution!
from sextant.
Related Issues (20)
- feature: Deep Linking HOT 4
- feature: Add navigation for AvaloniaUI HOT 2
- feature: Master Detail Support For Xamarin Forms HOT 5
- [BUG] Sextant sample navigation crashes with Android.Util.AndroidRuntimeException: 'Animators may only be run on Looper threads' HOT 8
- [BUG] navigationService.PopPage does not trigger WhenNavigatedTo HOT 5
- feature: Provide a destruction hook for when the VM/view is going to be popped HOT 2
- [BUG] Can't build UWP HOT 13
- feature: Provide a way to detect when navigation to a view-model is completed, even if no navigation-parameter is being passed HOT 4
- feature: Provide an initialization hook for when the VM/view is going to be added to the stack/pushed HOT 1
- [BUG] Allow ViewModelFactory to resolve Views with contracts HOT 4
- [BUG] WhenNavigatedFrom not being called HOT 2
- feature: Consolidate Extension Methods for Navigation Registration HOT 5
- Apps With a Splash Page? HOT 6
- feature: Add support for Avalonia HOT 3
- [BUG] When calling Locator.CurrentMutable.RegisterNotificationView get exception HOT 7
- [BUG] PushModal does not allways show View HOT 6
- feature: help with winui 3 support HOT 3
- Dependency Dashboard
- [Bug]: IParameterViewStackService - InvalidOperationException: IView not registered HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sextant.