c# - Prism for Xamarin.Forms unable to AutoWire -
i trying out prism.forms next client project. unfortunately, seeing strange behavior samples.
pretext seems xf or prism not me including existing xaml page (also mentioned brian lagunas - man - himself @ evolve session). renaming page throws off , viewmodellocator can't seem locate viewmodel anymore. if re-create page same name, can't find viewmodel. manually setting bindingcontext works, trying not create dependencies constructor injection.
question while working on existing code, minor change caused nullreference exception when using navigationpage root. here example of working sample app
https://github.com/hnabbasi/xamarin/tree/master/xfprism/xfprism
i using navigationpage , pushing contentpage. push contentpage, show modal page via button click , communicate. send parameters second content page via navigationparameters.
to break it, try swap isayhello service ipagedialogservice. not sure what's going on that's breaking it.
thanks in advance :)
the inavigationservice named type , recall known limitation of unity named types must precede unnamed types.
Comments
Post a Comment