Ejemplo n.º 1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            Title = "READ";

            searchBar              = CommonSearchView.Create();
            searchBar.TextChanged += (sender, e) =>
            {
                searchBooks();
            };
            searchBar.CancelButtonClicked  += SearchBar_CancelButtonClicked;
            tblBookReadList.TableHeaderView = searchBar;

            paginationModel.Status = 1;
            if (InternetConnectivityModel.CheckConnection())
            {
                
            {
                    
                LoadServerBooks(); 

                }
            }
            
 else
            {
                
 paginationModel.SkipRecords = 0; 
 paginationModel.TakeRecords = 30; 
                loadBookAdapter(); 

            }
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();


            searchBar              = CommonSearchView.Create();
            searchBar.TextChanged += (sender, e) =>
            {
                searchChatUsers();
            };
            searchBar.CancelButtonClicked += SearchBar_CancelButtonClicked;
            tblContactList.TableHeaderView = searchBar;

            Title = "CONTACTS";

            AppDomain.CurrentDomain.UnhandledException += CurrentDomainOnUnhandledException;
            TaskScheduler.UnobservedTaskException      += TaskSchedulerOnUnobservedTaskException;

            Loadonresume();
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            Title     = "ADD CONTACTS";
            searchBar = CommonSearchView.Create();

            searchBar.SearchButtonClicked += SearchBar_SearchButtonClicked;
            searchBar.CancelButtonClicked += SearchBar_CancelButtonClicked;
            tblAddContacts.TableHeaderView = searchBar;
            paginationModel.Status         = 2;
            if (InternetConnectivityModel.CheckConnection())
            {
                LoadServerContacts();
            }
            else
            {
                paginationModel.SkipRecords = 0;
                paginationModel.TakeRecords = 30;
            }
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            searchBar              = CommonSearchView.Create();
            searchBar.TextChanged += (sender, e) =>
            {
                searchBooks();
            };
            searchBar.CancelButtonClicked  += SearchBar_CancelButtonClicked;
            tblBookWishList.TableHeaderView = searchBar;
            Title = "WISH LIST";
            paginationModel.Status = 0;
            if (InternetConnectivityModel.CheckConnection())
            {
                LoadServerBooks();
            }
            else
            {
                paginationModel.SkipRecords = 0;
                paginationModel.TakeRecords = 30;
                loadBookAdapter();
            }
        }