Open SuperRealTeam opened 3 years ago
I Try To use some Hacks Like serliaze the List to Json then in ViewHandler I deserilaze it and it really done the job until We get Best Solution form your side.
Usually it involves wrapping the object in delegate using AttributeValueHolderFactory (and unwrapping it in Handler).
Yes, that's the idea ,so I think jsonize any Generic like list
You simply use AttributeHelper.ObjectToDelegate
(which uses AttributeValueHolderFactory underneath) in component, and AttributeHelper.DelegateToObject<List<Xamarin.Forms.Map.Pin>>
in handler. No need to serialize those.
See examples below (from InputView).
Yes that's Great thanks so much
Hello
I hope you are doing well , I know that your very busy these days ,but really I need your help in how can I use AttributeValue for Xamarin.forms.Map.Pins and Pins here is List when I use paramter with List it give me specified cast not vaild like in the attached Image.