| | |
| | | //如果该功能已经分享,更新原有的数据 |
| | | if (null != sd) |
| | | { |
| | | sd.ShareDataBytes = DAL.CommonPage.MyEncodingUTF8.GetBytes(Newtonsoft.Json.JsonConvert.SerializeObject(f)); |
| | | sd.ShareDataBytes = System.Text.Encoding.UTF8.GetBytes(Newtonsoft.Json.JsonConvert.SerializeObject(f)); |
| | | result = EditShareData(sd); |
| | | } |
| | | else//如果该功能未被分享,则新增分享 |
| | |
| | | Application.RunOnMainThread(() => { |
| | | for (int i = 0; i < 3; i++) |
| | | { |
| | | MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1); |
| | | //MainPage.BasePageView.RemoveAt(MainPage.BasePageView.ChildrenCount - 1); |
| | | MainPage.BasePageView.GetChildren(MainPage.BasePageView.ChildrenCount - 1).RemoveFromParent(); |
| | | } |
| | | }); |
| | | } |
| | |
| | | var tip = new Tip() |
| | | { |
| | | Text = tipStr, |
| | | CloseTime = 3, |
| | | CloseTime = 1, |
| | | Direction = AMPopTipDirection.None |
| | | }; |
| | | tip.Show(bodyView); |