| | |
| | | this.BackgroundColor = MusicColor.ViewColor; |
| | | var topView = new TopView(); |
| | | this.AddChidren(topView.TopFLayoutView()); |
| | | topView.topNameBtn.TextID = StringId.usb; |
| | | topView.topNameBtn.TextID = StringId.localMusic; |
| | | topView.clickBackBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | this.RemoveFromParent(); |
| | |
| | | { |
| | | try |
| | | { |
| | | SendMethod.sendMethod.GetPalyList(A31MusicModel.Current.functionMusic); |
| | | SendMethod.Current.GetPalyList(A31MusicModel.Current.functionMusic); |
| | | } |
| | | catch { } |
| | | finally |
| | | { |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | FileView(); |
| | | this.FileView(); |
| | | middViewLayout.EndHeaderRefreshing(); |
| | | }); |
| | | } |
| | |
| | | public void FileView() |
| | | { |
| | | middViewLayout.RemoveAll(); |
| | | for (int i = 0; i < A31MusicModel.Current.palyListInfos.Count; i++) |
| | | for (int i = 0; i < A31MusicModel.Current.palyLists.Count; i++) |
| | | { |
| | | var list = A31MusicModel.Current.palyListInfos[i]; |
| | | var list = A31MusicModel.Current.palyLists[i]; |
| | | RowLayout addFlieRow = new RowLayout |
| | | { |
| | | Height = Application.GetRealHeight(104), |