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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Gauge RangePointer ignores binding after update to version 12.4451.0.24

Thread ID:

Created:

Updated:

Platform:

Replies:

117986 Jan 16,2015 12:20 PM UTC Jan 22,2015 04:07 AM UTC Xamarin.Android 5
loading
Tags: SfCircularGauge
Steen Steiniche
Asked On January 16, 2015 12:20 PM UTC

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


Joy Oyiess Rex  K [Syncfusion]
Replied On 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



Steen Steiniche
Replied On 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

Joy Oyiess Rex  K [Syncfusion]
Replied On 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



Steen Steiniche
Replied On January 21, 2015 12:19 PM UTC

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

Joy Oyiess Rex  K [Syncfusion]
Replied On 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



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;