using System; using System.ComponentModel; using Android.Views; using AView = Android.Views.View; using ALayoutChangeEventArgs = Android.Views.View.LayoutChangeEventArgs; namespace Xamarin.Forms.Platform.Android { public interface IVisualElementRenderer : IRegisterable, IDisposable { VisualElement Element { get; } VisualElementTracker Tracker { get; } [Obsolete("ViewGroup is obsolete as of version 2.3.5. Please use View instead.")] ViewGroup ViewGroup { get; } AView View { get; } event EventHandler ElementChanged; event EventHandler ElementPropertyChanged; SizeRequest GetDesiredSize(int widthConstraint, int heightConstraint); void SetElement(VisualElement element); void SetLabelFor(int? id); void UpdateLayout(); event EventHandler LayoutChange; } }