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
Hi,
As stated on the title, kindly advise how we can hide a Form Section on Android. We have the same FormMetadata used in iOS (which is working), but doesn't seem to be working on Android. Much worse than that... we are getting an error when using the same functionality in Android.
$exception { System.NullReferenceException: Object reference not set to an instance of an object at Intersoft.Crosslight.ObjectExtensions.GetProperty (object,string) <IL 0x00002, 0x0004b> at Intersoft.Crosslight.ObjectExtensions.GetPropertyPathValue (object,string,bool) <IL 0x0008d, 0x0025f> at Intersoft.Crosslight.ObjectExtensions.GetPropertyPathValue (object,System.Type,Intersoft.Crosslight.BindingDescription) <IL 0x00008, 0x0004f> at Intersoft.Crosslight.ObjectExtensions.GetPropertyPathValue<bool> (object,Intersoft.Crosslight.BindingDescription) <IL 0x0000c, 0x00037> at Intersoft.Crosslight.Android.FormActivity`1<Mercury.Mobile.Core.ViewModels.Collection.TicketMachineEditViewModel>.InitializeForm () <0x0075f> at Intersoft.Crosslight.Android.FormActivity`1<Mercury.Mobile.Core.ViewModels.Collection.TicketMachineEditViewModel>.InitializeView () <0x001ab> at Intersoft.Crosslight.Android.FormActivityBase`1<Mercury.Mobile.Core.ViewModels.Collection.TicketMachineEditViewModel>.OnCreate (Android.OS.Bundle) <0x00325> at Intersoft.Crosslight.Android.FormActivity`1<Mercury.Mobile.Core.ViewModels.Collection.TicketMachineEditViewModel>.OnCreate (Android.OS.Bundle) <0x00067> at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/38ac51a9/source/monodroid/src/Mono.Android/platforms/android-14/src/generated/Android.App.Activity.cs:1944 at (wrapper dynamic-method) object.7cea21f0-037c-41ce-83e8-e91a9c9a9f5b (intptr,intptr,intptr) <IL 0x00017, 0x0001f> } System.NullReferenceException
Does Section's VisibilityBinding and/or EnabledBinding work on other platforms other than iOS (e.g. WinPhone, WinRT, and that of Android's)? Please advise
Many thanks!
Hi Jimmy,
I have tried VisibilityBinding on section for Android, iOS and WinPhone platform. And the result was it work well on iOS and Android. It seem there is no support for WinPhone. For an error you are facing when using VisibilityBinding on section, did you by chance bind using Model source? For your information, currently we only support VisibilityBinding on section with Model source for iOS platform.
I have submit this two feature as a feature request. For Android, I have submit it under "CROS-795", And for winPhone was under "CROS-794".
Regarding EnabledBinding on section, it was not supported on any platform. If you need this functionality in your scenario, I will help you to submit this as a feature request.
Best Regards,Leo
I just got news from our development team that CROS-795 "Visibility binding for android" feature has been implemented. This feature will be available on our next release, crosslight 4, that will be released soon.
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