FFImageLoading.Views.ImageViewAsync.OnMeasure C# (CSharp) Method

OnMeasure() protected method

protected OnMeasure ( int widthMeasureSpec, int heightMeasureSpec ) : void
widthMeasureSpec int
heightMeasureSpec int
return void
		protected override void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)
		{
			if (Drawable == null)
			{
				SetMeasuredDimension(widthMeasureSpec, heightMeasureSpec);
			}
			else
			{
				base.OnMeasure(widthMeasureSpec, heightMeasureSpec);
			}
		}