Exemple #1
0
        void TableView_Scrolled(object sender, EventArgs e)
        {
            var tableView = Control as UITableView;

            var firstIndexPath = tableView.IndexPathsForVisibleRows[0];

            ListViewEffect.SetFirstVisibleItemIndex(Element, firstIndexPath.Row);
        }
        protected override void OnAttached()
        {
            var listView = (Android.Widget.ListView)Control;

            if (ListViewEffect.GetDisableSelection(Element))
            {
                listView.ChoiceMode = ChoiceMode.None;
            }
        }
        protected override void OnAttached()
        {
            var listView = (UIKit.UITableView)Control;

            if (ListViewEffect.GetDisableSelection(Element))
            {
                listView.AllowsSelection = false;
            }
        }