| | |
| | | |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 初始化头部界面 |
| | | /// </summary> |
| | |
| | | //关闭刷新View; |
| | | vv.EndHeaderRefreshing(); |
| | | }; |
| | | CornerFramLayout imageFLayout = new CornerFramLayout(343, 20 * 168, 3, 0); |
| | | CornerFramLayout imageFLayout = new CornerFramLayout(343, 20 * 168, 0); |
| | | vv.AddChidren(imageFLayout); |
| | | imageFLayout.X = Application.GetRealWidth(16); |
| | | imageFLayout.SetList(imageFLayout.GetTestList(20)); |
| | | imageFLayout.LoadImagePage(); |
| | | imageFLayout.LoadImagePage(new List<Entity.KeypadEntity>()); |
| | | imageFLayout.selectAction += (index) => |
| | | { |
| | | Console.WriteLine("5"); |
| | | CommonMethod.Current.MainThread(() => |
| | | { |
| | | DetailPage detailPage = new DetailPage(); |
| | | MainPage.BasePageView.AddChidren(detailPage); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | detailPage.Show(); |
| | | }); |
| | | }; |
| | | imageFLayout.AdjustRealHeight(16); |
| | | } |