I am in process of learning Reactive UI for Xamarin and going through the documentation. However was not able to find that does it supports ViewModel to ViewModel Navigation. Is there any example application for same.
At the moment navigation support for Xamarin forms is somewhat limited. So is is not possible to select if a Page should be Pushed Modal or not.
After trying to use RxUI nagivation I surrendered and now use RxUI together with xamvvm framework to deal with Page/ViewModel creation and ViewModel based navigation.
Check it out https://github.com/xamvvm/xamvvm/wiki
Please have a look at this issue: https://github.com/reactiveui/ReactiveUI/issues/1048 There are ways to do it but you'll have to implement it yourself.
You can do it natively by following approach described here https://blog.kloud.com.au/2018/05/15/data-first-approach-in-xamarin-forms/
Related
I tried to find out the answer but no appropriate answer.... so hopefully developer community on stack will help me out.
I have already developed application using devexpress and having Office Inspired UI (https://docs.devexpress.com/WindowsForms/114442/build-an-application/choose-application-ui/office-inspired-ui) but for few forms we would like to use another UI Touch Enabled UI (https://docs.devexpress.com/WindowsForms/114443/build-an-application/choose-application-ui/touch-enabled-tile-ui) Is it possible to have two different UI in same project? If yes what should be the procedure.
You can use multiple UIs in the same project. Most of the items in the documentation you linked to are available as individual controls which can be dropped onto any form. Additionally, if your form inherits from XtraForm or RibbonForm, you can set the LookAndFeel.TouchUIMode property to DefaultBoolean.True, forcing the form and its child controls to use the touch scale factor:
this.LookAndFeel.TouchUIMode = DevExpress.Utils.DefaultBoolean.True;
I am trying to get better understanding of Xamarin.Forms renderers. I know what they are. They create a native view based on input from Xamarin Forms. You put in a Xamarin Forms ViewCell, and you get back a Android View or iOS UITableViewCell, or Windows DataTemplate. I get that.
But I have seen code using ExportRenderer and other code using ExportCell and I dont know what is the difference. When to use one over the other?
Xamarin documentation/page search is not finding either one.
They usage is identical:
[assembly: ExportRenderer(typeof(MyXamarinFormsElementType), typeof(MyNativeRendererType))]
[assembly: ExportCell(typeof(MyXamarinFormsElementType), typeof(MyNativeRendererType))]
In fact, in my code, I have a ListView with ItemCellRenderer and I tried adding either of these two assembly attributes and there is no visible difference.
As I said, Xamarin API provides zero information on this.
I understand that treeview in asp.net comes with checkboxes option for usage. However, in my application, I will require 2 additional checkboxes or radiobutton on the righthand side of each leaf node of my treeview.
However, I seem to be unable to find a solution to this requirement, and i think treeview structure does not support this feature.
I'm new to asp and I'm not sure if there is any other class which i can use upon to implement this feature.
Hope I can have some ideas from you guys to implement this
All help is appreciated
Thanks!
Regards
bernerd
The tree view control is quite limited however I've found this project http://www.codeproject.com/Articles/43057/ASTreeView-Free-ASP-NET-TreeView-Control which has extended its functionality - check out the reference and see if it provides what you need OR use it as a base to extend it as your scope requires!
I am trying to implement a Metro style Grouped Items Page using the MVVM Light framework following the sample in this blog post but using a ViewModelLocator to provide blendability:
http://mikaelkoskinen.net/post/winrt-tutorial-mvvm-gridview-semanticzoom.aspx
I have got this working, unfortunately the grid itself is not showing up in the designer (which is the point of me using MVVM Light). I have bound the title without problem so I know that the viewmodel is bound correctly.
Any ideas please?
I had the same problem. The issue is, if you're using a CollectionViewSource, that it needs to be explicitly, like this:
As MVVM Light injects design-time-services into the viewmodel you'd expect this to pick up your service and push the design-time data through your viewmodel to the UI. But it doesn't.
You need to give it an explicit design-time instance for this to work:
There is a useful article about using CollectionViewSource in design mode that may help.
Is there a way to wrap my HTTPServices into the startup progress? Right now I have the HTTPRequest Send actions set for creationComplete on the Application (Application creationComplete="initApp()"). Is there a way to have them as part of the initial startup and progress bar? This way all the data will be loaded when the progress bar is complete.
You need to implement a custom preloader for that. I think this tutorial can help you.
You could try tying your HTTPServices call to the preinitialize event of the main Application.
Check out this article for more info on the Flex startup order.
Constantiner's suggestions is correct. You should read my tutorial on how to make a custom preloader. The focus in the tutorial is not on how to skin the preloader, but on how to include a custom time-consuming actions to take place during the preloading of the Flex application.
The tutorial includes also an updated Flex 4 sample that demonstrates where you should plug your service call.
In your particular case you need to wait for the Flex framework to load before using the HTTPService, because the HTTPService-class is part of the framework.
Try moving the HTTPRequest to a method that responds to the initialize event, like so:
initialize="getData()"
creationComplete="initApp()"
The initialize event dispatches much earlier in the application's life cycle.