| | |
| | | |
| | | #endregion |
| | | |
| | | void ReadDoorLockUserInfo() |
| | | { |
| | | System.Threading.Tasks.Task.Run(async () => |
| | | { |
| | | try |
| | | { |
| | | var list = await Shared.Phone.UserCenter.DoorLock.DoorLockCommonInfo.GetDoorLockAllAcountUserlist(doorLock); |
| | | } |
| | | catch { } |
| | | finally |
| | | { |
| | | } |
| | | }); |
| | | } |
| | | |
| | | /// <summary>
|
| | | /// UI显示
|
| | | /// </summary> |
| | |
| | | |
| | | public void MidFrameLayoutContent() |
| | | { |
| | | var bodyView = new VerticalScrolViewLayout() |
| | | var bodyView = new VerticalRefreshLayout() |
| | | { |
| | | }; |
| | | this.midFrameLayout.AddChidren(bodyView); |
| | | |
| | | bodyView.BeginHeaderRefreshingAction += () => |
| | | { |
| | | bodyView.BeginHeaderRefreshing(); |
| | | ReadDoorLockUserInfo(); |
| | | bodyView.EndHeaderRefreshing(); |
| | | }; |
| | | for (int i = 0; i < 3; i++) |
| | | { |
| | | var RowView = new FrameLayout() |
| | |
| | | TextColor = Shared.Common.ZigbeeColor.Current.XMBlack, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = 14, |
| | | Text = "Krafty", |
| | | }; |
| | | RowView.AddChidren(btnMemberName); |
| | | |