Android.Dialog.ViewElement.GetViewImpl C# (CSharp) Method

GetViewImpl() protected method

protected GetViewImpl ( Android.Content.Context context, Android.Views.View convertView, Android.Views.ViewGroup parent ) : Android.Views.View
context Android.Content.Context
convertView Android.Views.View
parent Android.Views.ViewGroup
return Android.Views.View
        protected override View GetViewImpl(Context context, View convertView, ViewGroup parent)
        {
#warning convertView is junk here?
            View view;
            if (_layoutId > 0)
                view = DroidResources.LoadLayout(context, parent, _layoutId);
            else
                view = DroidResources.LoadLayout(context, parent, LayoutName);

            if (view == null)
            {
                Log.Error("Android.Dialog", "ViewElement: Failed to load resource: " + LayoutName);
            }
            else if (Populate != null)
            {
                Populate(view);
            }
            return view;
        }