Skip to content

Commit f480f89

Browse files
Merge pull request #105 from syncfusion-content/Ticket371056_Hotfix
XAMARIN-42866 : Update the code snippet for loading SfNumericUpDown control from xml
2 parents 4b8a9cf + dcdeab8 commit f480f89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xamarin-android/SfNumericUpDown/getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Add the following code in the Main.axml to include `NumericUpDown` control.
3535
android:layout_width="match_parent"
3636
android:layout_height="match_parent">
3737

38-
<com.syncfusion.numerictextbox.SfNumericTextBox
39-
android:id="@+id/sfNumericTextBox"
38+
<com.syncfusion.numericupdown.SfNumericUpDown
39+
android:id="@+id/sfNumericUpDown"
4040
android:layout_height="wrap_content"
4141
android:layout_width="fill_parent" />
4242

@@ -61,9 +61,9 @@ public class MainActivity : Activity
6161

6262
SetContentView(Resource.Layout.content_main);
6363

64-
SfNumericTextBox textBox = (SfNumericTextBox)FindViewById(Resource.Id.sfNumericTextBox);
64+
SfNumericUpDown numericUpDown = (SfNumericUpDown)FindViewById(Resource.Id.sfNumericUpDown);
6565

66-
textBox.Value = 30;
66+
numericUpDown.Value = 30;
6767
}
6868
}
6969

0 commit comments

Comments
 (0)