示例#1
0
        private IList<ListView.FixedViewInfo> GetHeaders()
        {
            LoadHeader();
            if (_header == null) return null;

            var info = new ListView.FixedViewInfo(new ListView(Context))
            {
                Data = null,
                IsSelectable = true,
                View = _header,
            };
            return new List<ListView.FixedViewInfo>() { info };
        }
示例#2
0
        IList <ListView.FixedViewInfo> GetFixedViewInfos(int id)
        {
            var viewInfos = new List <ListView.FixedViewInfo>();

            var view = GetBoundView(id);

            if (view != null)
            {
                var info = new ListView.FixedViewInfo(this)
                {
                    Data         = null,
                    IsSelectable = true,
                    View         = view,
                };
                viewInfos.Add(info);
            }

            return(viewInfos);
        }
示例#3
0
        private IList<ListView.FixedViewInfo> GetFixedViewInfos(int id)
        {
            var viewInfos = new List<ListView.FixedViewInfo>();

            View view = GetBoundView(id);

            if (view != null)
            {
                var info = new ListView.FixedViewInfo(this)
                {
                    Data = null,
                    IsSelectable = true,
                    View = view,
                };
                viewInfos.Add(info);
            }

            return viewInfos;
        }
示例#4
0
        private IList <ListView.FixedViewInfo> GetHeaders()
        {
            LoadHeader();
            if (_header == null)
            {
                return(null);
            }

            var info = new ListView.FixedViewInfo(new ListView(Context))
            {
                Data         = null,
                IsSelectable = true,
                View         = _header,
            };

            return(new List <ListView.FixedViewInfo>()
            {
                info
            });
        }