Giter Site home page Giter Site logo

Comments (9)

limefrogyank avatar limefrogyank commented on April 27, 2024 1

from sextant.

RLittlesII avatar RLittlesII commented on April 27, 2024 1

That means your code somehow made it to the master branch, as my branch is cut from the most recent master.

from sextant.

open-collective-bot avatar open-collective-bot commented on April 27, 2024

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 add priority label once you start contributing 😄

An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms!

from sextant.

RLittlesII avatar RLittlesII commented on April 27, 2024

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

RLittlesII avatar RLittlesII commented on April 27, 2024

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

limefrogyank avatar limefrogyank commented on April 27, 2024

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.

RLittlesII avatar RLittlesII commented on April 27, 2024

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

limefrogyank avatar limefrogyank commented on April 27, 2024

This works fine for me. Sorry to slip that in unnoticed.

Fixed with dc23331

Right?

from sextant.

RLittlesII avatar RLittlesII commented on April 27, 2024

Yes. No worries about it. It was a big PR with a lot of files changed. Appreciate the contribution!

from sextant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.