| | |
| | | public MusicMain() |
| | | { |
| | | Tag = "MusicMain"; |
| | | //进来音乐列表界面先移除之前线程; |
| | | A31MusicModel.RemoveListThread(); |
| | | } |
| | | public override void RemoveFromParent() |
| | | { |
| | |
| | | A31MusicModel.ReadMusicStates();//进来没有音乐被收藏过,退出有音乐被收藏过 |
| | | } |
| | | static List<System.Threading.Thread> threadLists = new List<System.Threading.Thread>(); |
| | | /// <summary> |
| | | /// 移除线程 |
| | | /// </summary> |
| | | static void clearA31Threads() |
| | | { |
| | | var threads = threadLists.FindAll((obj) => { return obj.Name == "A31"; }); |
| | |
| | | |
| | | public void Show() |
| | | { |
| | | |
| | | #region 界面布局 |
| | | this.BackgroundColor = Color.ViewColor; |
| | | var topView = new TopView(); |