diff --git a/CustomAction/XAMARINCustomAction/.vs/XAMARINCustomAction/xs/UserPrefs.xml b/CustomAction/XAMARINCustomAction/.vs/XAMARINCustomAction/xs/UserPrefs.xml index 902f7bacd866c4d700d1164ae81133bbe2d53cf5..a4e02a486689ca3b7c7df827855c4ec491dec913 100644 --- a/CustomAction/XAMARINCustomAction/.vs/XAMARINCustomAction/xs/UserPrefs.xml +++ b/CustomAction/XAMARINCustomAction/.vs/XAMARINCustomAction/xs/UserPrefs.xml @@ -1,19 +1,21 @@  - + - - - + + + - - - + + + + + @@ -26,5 +28,5 @@ - + \ No newline at end of file diff --git a/CustomAction/XAMARINCustomAction/XAMARINCustomAction.iOS/CustomActionIos.cs b/CustomAction/XAMARINCustomAction/XAMARINCustomAction.iOS/CustomActionIos.cs index fb60448b36605c204660ea142dd8a61044eff9a9..b7965395c26884627328c02b1766387a3ee8b57f 100644 --- a/CustomAction/XAMARINCustomAction/XAMARINCustomAction.iOS/CustomActionIos.cs +++ b/CustomAction/XAMARINCustomAction/XAMARINCustomAction.iOS/CustomActionIos.cs @@ -28,7 +28,8 @@ namespace XAMARINCustomAction.iOS private bool Increment(UIAccessibilityCustomAction customAction) { - int n = Int32.Parse(MainPage.counter.Text) + 1; + int n = Int32.Parse(MainPage.counter.Text); + n++; Debug.WriteLine("PIPPO: clicked increment"); MainPage.counter.Text = "" + (n); return true; @@ -47,25 +48,5 @@ namespace XAMARINCustomAction.iOS return true; } - - - /*private bool Increment() - { - int n = Int32.Parse(mainpage.counter.Text); - Console.WriteLine("PIPPO: clicked on increment"); - Debug.WriteLine($"PIPPO: clicked on increment {n}"); - mainpage.counter.Text = "" + (n++); - - }*/ - - - /*[Export("Decrement:")] - private void Decrement() - { - Console.WriteLine("PIPPO: clicked on decrement"); - int n = Int32.Parse(mainpage.counter.Text); - mainpage.counter.Text = "" + (n--); - }*/ - } }