Abc.xaml
x:Name="sfnumericUpDown"
Minimum="1"
HeightRequest="30"
WidthRequest="110"
ParsingMode="Decimal"
HorizontalOptions="Start"
FormatString="N"
SpinButtonAlignment="Both"
SpinValidation = "Default"
MaximumDecimalDigits="0"
Grid.Column="1"
ValueChanged="OnQuantityValueChanged"/>
Abc.xaml.cs
void OnQuantityValueChanged(object sender, ValueEventArgs e)
{
SfNumericUpDown numericUpDown = sender as SfNumericUpDown;
var updatedValue = e.Value;
var InitialValue = numericUpDown.Value;
// here e.value & numericUpDown.value is always same in Android, its perfect working for iOS
}
Here,
When user click on +/- tick marks, the component calls OnQuantityValueChanged method.
This method behaves differently in both (iOS and Android)
Let me give an example.:
SfNumericUpDown have initial value is 10. User clicking on + tick mark.
In iOS:
UpdatedValue = 11 and
InitialValue = 10.
In Android:
UpdatedValue = 10 and
InitialValue = 10.
WHY IT IS BEHAVING DIFFERENTLY IN BOTH VERSION ?
iOS behaves right behavior compare to Android.
Please suggest me the way to resolve this issue and also let me know if I am doing anyhting wrong here.
Help will be appreciated.
Thanks in Advance
Dharam.