예제 #1
0
        protected override async void OnAppearing()
        {
            base.OnAppearing();
            Utilities.IOSPageFitter(_ParentStack, Device.RuntimePlatform, 0, Utilities.IOSPaddingTop, 0, 0);

            if (CrossConnectivity.Current.IsConnected)
            {
                ChatController.ListenForChatListUpdate = true;

                var xx = await ChatController.LocalChatsListToStack(_ChatsListAll, this);

                System.Diagnostics.Debug.WriteLine("Done With Local, Result  " + xx);
                await ChatController.ChatsListToStack(_ChatsListAll, this, false);
            }
            else
            {
                var xx = await ChatController.LocalChatsListToStack(_ChatsListAll, this);
            }
        }