Пример #1
0
        public FAViewController(UICollectionViewFlowLayout layout, FAViewSize size)
            : base(layout)
        {
            _fasize = size;

            _datasource = FA.Empty.Values();
            _searchresult = _datasource;
            _searchbar = new UISearchBar ();
            _searchbar.SearchBarStyle = UISearchBarStyle.Prominent;
            _pinchrecognizer = new UIPinchGestureRecognizer (PinchDetected);

            var searchdelegate = new UISearchFADelegate(this, _searchbar);
            _searchbar.Delegate = searchdelegate;
        }
Пример #2
0
        public FAViewController(UICollectionViewFlowLayout layout, FAViewSize size)
            : base(layout)
        {
            _fasize = size;

            _datasource               = FA.Empty.Values();
            _searchresult             = _datasource;
            _searchbar                = new UISearchBar();
            _searchbar.SearchBarStyle = UISearchBarStyle.Prominent;
            _pinchrecognizer          = new UIPinchGestureRecognizer(PinchDetected);

            var searchdelegate = new UISearchFADelegate(this, _searchbar);

            _searchbar.Delegate = searchdelegate;
        }