Comments (7)
Thanks for reporting this. I'll look at it today. Are you only using the Sextant.XamForms
package? What does your registration look like? It may have been missed in the Sextant.InitializeForms
method.
from sextant.
This how I register sextant
Locator
.CurrentMutable
.RegisterNavigationView(() =>
new NavigationView(RxApp.MainThreadScheduler, RxApp.TaskpoolScheduler, ViewLocator.Current))
.RegisterParameterViewStackService()
.RegisterView<LoginPage, LoginViewModel>();
And I still got the same exception using v 2.9.4 and yes I am only using Sextant.XamForms
package installed on .net standard project only (where views located).
Should I call Sextant.InitializeForms
? But I don't see it in readme and it looks fine on v2.7.1?
from sextant.
@albilaga Adding the same fix for this PR to your registration doesn't resolve the problem? There is a new dependency you need to register in order for everything to continue working. It may not be added to the README.
Sextant.Initialize
is marked Obsolete. We prefer you construct what is needed using extensions. The
Sextant.IntializeForms
method will most likely be removed in the future in place of an extension method to handle it.
Locator.CurrentMutable.RegisterViewModelFactory();
Realase 2.8.1 introduced a fix that we tried to put in to maintain backward compatibility, which obviously isn't working.
from sextant.
If it's causing user issues might be worth removing those methods and doing a major bump
from sextant.
If we need Sextant.Initialize
or Sextant.InitializeForms
I think we need to upgrade the version to v3 and update the readme to make it important? Because right now I don't see the required Sextant.InitializeForms
in the readme and in v2.7.1 I can use Sextant without using that method.
from sextant.
Part of having release pages is to let people know of new things that are coming and potential changes to help identify regressions.
While the README doesn't state it. The Sample Application uses it.
#240 introduced this issue. I fixed what was the most obvious place. The next PR should fix the problem. I just want to put together a proper reproduction so I can verify the fix.
from sextant.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from sextant.
Related Issues (20)
- [BUG] When binding received parameter in ContentPage from INavigable ViewModel exception is thrown that cannot access UI control from another thread HOT 4
- [BUG] Splat.DryIoc UseDryIocDependencyResolver throws NullReferenceException in ViewStackServiceBase ctor HOT 2
- 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] PopRootAndTick in ViewStackServiceBase leaves behind the wrong viewmodel HOT 9
- [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] PushModal does not allways show View HOT 6
- feature: help with winui 3 support HOT 3
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.