public GameObject GetFormView(XsollaForm xsollaForm, XsollaTranslations translations) { bool isCcRender = xsollaForm.GetCurrentCommand() == XsollaForm.CurrentCommand.FORM && xsollaForm.IsCreditCard(); if (isCcRender) { return(GetCardViewWeb(xsollaForm, translations)); } else { FormElementAdapter adapter = GetComponent <FormElementAdapter>(); adapter.SetForm(xsollaForm, translations); GameObject list = GetList(adapter); list.GetComponent <ListView>().DrawList(GetComponent <RectTransform> ()); return(list); } }