public static View LoadEntryButtonLayout(Context context, View convertView, ViewGroup parent, int layoutId, out TextView label, out EditText value, out ImageButton button)
{
var layout = convertView ?? LoadLayout(context, parent, layoutId);
if (layout != null)
{
label = layout.FindViewById<TextView>(Resource.Id.dialog_LabelField);
value = layout.FindViewById<EditText>(Resource.Id.dialog_ValueField);
button = layout.FindViewById<ImageButton>(Resource.Id.dialog_Button);
}
else
{
Log.Error("Android.Dialog", "LoadStringEntryLayout: Failed to load resource: " + layoutId.ToString(CultureInfo.InvariantCulture));
label = null;
value = null;
button = null;
}
return layout;
}