protected virtual ListView createListView(Context context, IAttributeSet attrs)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final android.widget.ListView lv;
            ListView lv;

            if (Build.VERSION.SdkInt >= BuildVersionCodes.Gingerbread)
            {
                lv = new InternalListViewSDK9(this, context, attrs);
            }
            else
            {
                lv = new InternalListView(this, context, attrs);
            }
            return(lv);
        }
        /// <summary>
        /// Load Data (items) in Internal ListView.
        /// </summary>
        public void ReloadData()
        {
            InternalListView.Clear();
            var arrayWidth    = ColWidths;
            var indexArray    = 0;
            var widthListView = (int)(InternalListView.Width * 0.96);

            //set Columns with width
            foreach (var col in Names)
            {
                InternalListView.Columns.Add(col);
                InternalListView.Columns[indexArray].Width = (int)((arrayWidth[indexArray] * widthListView) / 100.0);
                indexArray++;
            }

            //Set Items
            foreach (var entity in InternalList)
            {
                InternalListView.Items.Add(new ListViewItem(this.GetValues(entity)));
            }
        }