| | |
| | | } |
| | | }; |
| | | |
| | | //*******待改***** |
| | | UserPage.Instance.Fresh(); |
| | | if (Config.Instance.IsLogin) |
| | | { |
| | | ShowLoginLoadView(); |
| | | CommonPage.Loading.Start(); |
| | | Action action = async () => |
| | | { |
| | |
| | | //刷新个人中心的内存及线程 |
| | | await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread(); |
| | | |
| | | Room.CanInitAllRoom = true; |
| | | Room.InitAllRoom(); |
| | | |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | CommonPage.Instance.RemoveViewByTag("Login"); |
| | | UserPage.Instance.Fresh(); |
| | | CommonPage.Loading.Hide(); |
| | | }); |
| | |
| | | //刷新个人中心的内存及线程 |
| | | await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread(); |
| | | |
| | | Room.CanInitAllRoom = true; |
| | | Room.InitAllRoom(); |
| | | |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | CommonPage.Instance.RemoveViewByTag("Login"); |
| | | UserPage.Instance.Fresh(); |
| | | CommonPage.Loading.Hide(); |
| | | }); |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | public void ShowLoginLoadView() |
| | | { |
| | | var loginLoad = new LoginLoading { }; |
| | | CommonPage.Instance.AddChidren(loginLoad); |
| | | loginLoad.Show(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// Logins the by PWDA sync. |
| | | /// </summary> |