iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello Crosslight Support,
I am using tabbed navigation in my latest app. Tabbing through the different pages works well, but the "Navigated" event in the viewmodels is never called like when navigating with a drawer, list or collection. Why?
I defined my navigation items with a navigation parameter but now I can never evaluate the navigation parameter because there is no navigated event. I really need this to work. Can you please propose a work around or a fix for this.
I was testing on iOS, but it needs to work on Android as well. The navigated event should be called for the first (default) tab as well when the tab is initially shown.
Thanks,
Thomas
Hi Thomas,
Recently we stumble upon tabbed navigation bug in form builder, looks like it is already fixed in our unofficial hotfix which you can download it here: http://www.intersoftsolutions.com/Community/Attachments/34609/Crosslight4_0_5000_533%20hotfix.zip, and here is the thread if you are interested: http://www.intersoftsolutions.com/Community/Crosslight/Inside-tab-control-Form-builder-controls-are-not-working-properl/I already test both android and ios using the hotfix and this hotfix will be shipped with Crosslight 5, hope this will help! Best Regards,
Arief
Hello Arief,
I applied the proposed hotfix but it changed nothing. There is still no Navigated event executed when I change the tabs. The constructor of the viewmodel classes is called but no Navigated event.
I tested on iOS 8/9.
The hotfix contained only Intersoft.Crosslight.dll and the iOS Unified folder with its assemblies. Is this the complete hotfix?
It is really urgent. Maybe you can send me your complete sample where it worked.
having an app which is using a drawer as navigation element. When the app starts, the CenterViewModel is shown as main content. But the Navigated event of the CenterViewModel gets never called. Navigation with the drawer to other views, the Navigated event of these viewmodels gets called.
This is very inconsistent. There must be a call of the Navigated event of the CenterViewModel, too.
At the moment it is very hard to rely on the Navigated event.
As usually very urgent. It would be nice if all the Navigated issues would be fixed in Crosslight 5 (iOS and Android).
Hi Thomas,Here is the sample https://onedrive.live.com/download?resid=9F657B5249D6BB8D!125&authkey=!AF3E_Nk_b_9Lekw&ithint=file%2czip, I also attached the hotfix + Crosslight4_0_5000_327 to the sample that I send it to you.As per my test, both Android and iOS (I actually test both drawer and tabbed) navigated is working well if the problem still persists I may need your project, simple sample, or can you describe your implementation.As far as I discussed with our developer, as long as you override our method in code and have both respective fragment and viewcontroller, I should be always working.Please note that is better to delete bin and obj folder in your iOS after applying new bugfix because there are known bug in Xamarin Studios that makes clean sometimes doesn't work.Yes because it is an unofficial hotfix, I can only give those two files. The rest most likely be buggy because subjected to Crosslight 5 changes, sorry for the inconvenience!
Thank you for the sample code.
I first changed the RootViewModel from ReferenceViewModel to DrawerViewModel. The default item of the drawer list is the EditorsViewModel. When starting the app the Navigated event of the EditorsViewModel is raised as expected.
After that I clicked on "Tabbed" within the drawer navigation list. The Navigated event of the ReferenceTabViewModel is raised and the tab appears.
What is missing and that is the thing I need is the following: The default item of the tab is the SamplesViewModel. When the tab appears, the SamplesViewModel is the default page, but the Navigated event of the SamplesViewModel is never raised. Changing the tabs, no Navigated event is raised in the belonging viewmodel.
Does this work at your end?
I reuse ViewModels and I init them in the Navigated event depending on the NavigatedParameter. If there is no Navigated event, I cannot use this technique. Do you see a fix or a workaround?
any updates about this issue?
A status of this issue would be nice. I know you are working on the next release, but supporting the existing version is important, too.
Any news?
Deeply apologize for the delay in sending this.
I’m currently working on this ticket and need more time to provide you with solution, suggestion, or sample.
I’ll get back to you as soon as possible.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname