| | |
| | | { |
| | | if (titleId == StringId.PermissionToUse)//从个人中心进入单独分享 |
| | | { |
| | | new System.Threading.Thread(() => |
| | | new Thread(() => |
| | | { |
| | | bool result = false; |
| | | Action act = () => { }; |
| | |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | new PublicAssmebly().TipMsgAutoClose(Language.StringByID(StringId.FunctionSharingSucceeded), true); |
| | | memberInfo.CurResidenceShareDate = funs_New; |
| | | }); |
| | | Thread.Sleep(1600); |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1); |
| | | //MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1); |
| | | MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent(); |
| | | refreshFunctionCount?.Invoke(funs_New.Count.ToString()); |
| | | }); |
| | | } |
| | |
| | | if (responePack.StateCode.ToUpper() != "SUCCESS") |
| | | { |
| | | return false; |
| | | }else |
| | | } |
| | | else |
| | | { |
| | | return true; |
| | | } |