summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.ControlGallery.iOS
diff options
context:
space:
mode:
authorSamantha Houts <samhouts@users.noreply.github.com>2017-03-23 23:12:41 (GMT)
committerE.Z. Hart <hartez@users.noreply.github.com>2017-03-23 23:12:41 (GMT)
commit79ecf97d92331c790b5ba5c99f453607260f40cb (patch)
tree684071dda7a8ae360de7616b724438f1244b5547 /Xamarin.Forms.ControlGallery.iOS
parentf27f5a3650f37894d4a1ac925d6fab4dc7350087 (diff)
downloadxamarin-forms-79ecf97d92331c790b5ba5c99f453607260f40cb.zip
xamarin-forms-79ecf97d92331c790b5ba5c99f453607260f40cb.tar.gz
xamarin-forms-79ecf97d92331c790b5ba5c99f453607260f40cb.tar.bz2
[Android] ScrollView can now consume Effects (#836)
* Add repro * [Android] Make ScrollView an IEffectControlProvider
Diffstat (limited to 'Xamarin.Forms.ControlGallery.iOS')
-rw-r--r--Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs b/Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs
index 1aed773..03f145b 100644
--- a/Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs
+++ b/Xamarin.Forms.ControlGallery.iOS/AppDelegate.cs
@@ -25,6 +25,10 @@ namespace Xamarin.Forms.ControlGallery.iOS
protected override void OnAttached()
{
Control.BackgroundColor = UIColor.Blue;
+
+ var childLabel = (Element as ScrollView)?.Content as Label;
+ if (childLabel != null)
+ childLabel.Text = "Success";
}
protected override void OnDetached()