| | |
| | | /// <param name="mSecondList">二级数据集合</param> |
| | | /// <param name="SelectAction">选择回调事件</param> |
| | | /// <param name="selectTagId"></param> |
| | | public void ShowView(List<RoomCellInfo> mFirstList, List<List<RoomCellInfo>> mSecondList, Action<string> SelectAction, string selectTagId = ALLSELECT) |
| | | public void ShowView(List<RoomCellInfo> mFirstList, List<List<RoomCellInfo>> mSecondList, Action<string> SelectAction, string selectTagId = ALLSELECT, int offsetY = 0) |
| | | { |
| | | if (mFirstList == null) |
| | | { |
| | |
| | | } |
| | | |
| | | //View显示 |
| | | ShowDoubleBaseView(); |
| | | ShowDoubleBaseView(offsetY); |
| | | //数据内容填充 |
| | | RefreshDoubleBaseView(); |
| | | //选中效果 |
| | |
| | | /// <summary> |
| | | /// 显示二级view |
| | | /// </summary> |
| | | void ShowDoubleBaseView() |
| | | void ShowDoubleBaseView(int offsetY = 0) |
| | | { |
| | | bodyView.BackgroundColor = CSS_Color.DialogTransparentColor1; |
| | | this.AddChidren(bodyView); |
| | |
| | | BackView = new FrameLayout() |
| | | { |
| | | X = Application.GetRealWidth(10), |
| | | Y = Application.GetRealHeight(104), |
| | | Y = Application.GetRealHeight(104+ offsetY), |
| | | Width = Application.GetRealWidth(283), |
| | | Height = Application.GetRealWidth(242), |
| | | }; |