Giter Site home page Giter Site logo

feature: Provide a way to detect when navigation to a view-model is completed, even if no navigation-parameter is being passed about sextant HOT 4 CLOSED

AlexanderMelchers avatar AlexanderMelchers commented on April 27, 2024
feature: Provide a way to detect when navigation to a view-model is completed, even if no navigation-parameter is being passed

from sextant.

Comments (4)

winterdouglas avatar winterdouglas commented on April 27, 2024 1

I'd say this could be potentially closed and you could keep an eye on the #197 :)
@RLittlesII

from sextant.

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

Hey @AlexanderMelchers 👋,

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.

winterdouglas avatar winterdouglas commented on April 27, 2024

Hey @AlexanderMelchers , I was looking the code here and actually what you are requesting can be done already in some way. The WhenNavigatingTo and WhenNavigatedTo are called every time a push happens, the only pre-requisite to have that working is to be using the ParameterViewStackService and call the Push passing in yourself an empty dictionary as a parameter. If you instead call the Push methods without the parameter signature (from the ViewStackService) then indeed those won't be triggered, so I guess that's your case.

Ideally I'd say we should have some kind of special "hook" to have that in a more consise way, there's a feature request I opened for that here #197

from sextant.

RLittlesII avatar RLittlesII commented on April 27, 2024

@AlexanderMelchers Apologies for not commenting on this sooner. What @winterdouglas says is accurate, the methods get called every navigation and there is nothing preventing you from hooking into them with an empty dictionary. Some base ViewModel class that handles it will get you that information.

We are looking into ways to provide better life cycle methods for the ViewModel. I feel like this is basically the same thing you are requesting. I am going to close this issue as it is similar to the other feature request and solving one, should solve both.

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.