summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/IVisualElementRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Android/IVisualElementRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Android/IVisualElementRenderer.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Android/IVisualElementRenderer.cs b/Xamarin.Forms.Platform.Android/IVisualElementRenderer.cs
new file mode 100644
index 00000000..99393516
--- /dev/null
+++ b/Xamarin.Forms.Platform.Android/IVisualElementRenderer.cs
@@ -0,0 +1,22 @@
+using System;
+using Android.Views;
+using AView = Android.Views.View;
+
+namespace Xamarin.Forms.Platform.Android
+{
+ public interface IVisualElementRenderer : IRegisterable, IDisposable
+ {
+ VisualElement Element { get; }
+
+ VisualElementTracker Tracker { get; }
+
+ ViewGroup ViewGroup { get; }
+
+ event EventHandler<VisualElementChangedEventArgs> ElementChanged;
+
+ SizeRequest GetDesiredSize(int widthConstraint, int heightConstraint);
+
+ void SetElement(VisualElement element);
+ void UpdateLayout();
+ }
+} \ No newline at end of file