We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Gauge RangePointer ignores binding after update to version 12.4451.0.24

Hello Syncfusion
 
I have updated xamarin for Android to version 12.4451.0.24. I am trying to remove the error with multiple app icons on the phone. Now the gauge RangePointer has stopped working. It no longer updates when the model value changes. These lines used to work:
   
      

   var pointer = new RangePointer();

   pointer.SetBinding<LiveDataViewModel>(RangePointer.ValueProperty, m => m.Power);

 

where LiveDataViewModel is my model and m.Power is the value.

 

What must I do to have this working again?

 

Thanks in advance


5 Replies

JO Joy Oyiess Rex  K Syncfusion Team January 19, 2015 08:47 AM UTC

Hi Steen,

Thanks for your interest in Syncfusion products.

We have already fixed the mentioned issue with "deploying two icons in android(Xamarin)", so there is no change need to be done from your end. The particular issue fix was already included in latest version "12.4.0.24" and RangePointer binding is also working fine in that version.  Could you please provide us simple issue reproducible sample, so that we could analyse on it and provide you better solution.

Please let us know, if you have any concerns.

Regards,

Joy Oyiess Rex K




SS Steen Steiniche January 20, 2015 08:19 AM UTC

Hello Joy

Thanks for your reply. I have attached a project that illustrates the problem. The gauge shows an initial value of a view model, but subsequent changes to the view model are not reflected. 

Hope to hear from you what I must do to make it work.

Thanks in advance

Steen

Attachment: AndroidGaugeTest_31dcd86e.zip


JO Joy Oyiess Rex  K Syncfusion Team January 21, 2015 08:42 AM UTC

Hi Steen,

Thanks for your previous update.

The provided sample was really helpful for us to debug the mentioned issue. As the BindingContext were internally handled in CircularGauge control, we don't to set binding context separately for scale elements such as Ranges, pointers etc.

So the mentioned issue can be resolved by set the BindingContext for the CircularGauge control. For that please refer the below code snippet.

Code Snippet:

 

  SfCircularGauge g = new SfCircularGauge()

    {

       BindingContext = TestViewModel.Instance

    };

Please let us know, if you need any further assistance.

Regards,

Joy Oyiess Rex K




SS Steen Steiniche January 21, 2015 12:19 PM UTC

Hello Joy
 
Thank you for your answer. That solved the problem.
 
Steen


JO Joy Oyiess Rex  K Syncfusion Team January 22, 2015 04:07 AM UTC

Hi Steen,

We are glad to know that your issue has been resolved.

Please let us know, if you need any further assistance.

Regards,

Joy Oyiess Rex K



Loader.
Up arrow icon