Merge remote-tracking branch 'origin/wjc' into feature/V2.7_Google
| | |
| | | { |
| | | |
| | | |
| | | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.2.2.120")] |
| | | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.2.0.99")] |
| | | public partial class Resource |
| | | { |
| | | |
| | |
| | | { |
| | | UpdateThread.updateCurrMusicThread(this, middViewLayout, A31MusicModel.Current); |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | { |
| | | timerThread = new System.Threading.Thread((obj) => |
| | | { |
| | | try |
| | | { |
| | | while (true) |
| | | { |
| | | Application.RunOnMainThread(() => |
| | |
| | | }); |
| | | System.Threading.Thread.Sleep(1000 * 1); |
| | | } |
| | | } |
| | | catch (Exception e) { } |
| | | }) |
| | | { IsBackground = true }; |
| | | timerThread.Start(); |
| | |
| | | //更新状态线程 |
| | | var musicThread = new System.Threading.Thread(() => |
| | | { |
| | | try |
| | | { |
| | | while (true) |
| | | { |
| | | if (!player.functionMusic.isOnline()) |
| | |
| | | SendMethod.Current.GetDeviceStatus(ref player, new List<string> { player.functionMusic.deviceId }, player.functionMusic.sid); |
| | | System.Threading.Thread.Sleep(1000); |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | try |
| | | { |
| | | musicView.singerBtn.Text = player.functionMusic.GetAttrState(KeyProperty.song_name); |
| | | musicView.songNameBtn.Text = player.functionMusic.GetAttrState(KeyProperty.song_name); |
| | |
| | | { |
| | | musicView.collectIconBtn.IsSelected = false; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | string ee = e.Message; |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | string ee = e.Message; |
| | | } |
| | | }) |
| | | { IsBackground = true, Name = "A31" }; |
| | | musicThread.Start(); |
| | |
| | | { |
| | | |
| | | |
| | | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.2.2.120")] |
| | | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.2.0.99")] |
| | | public partial class Resource |
| | | { |
| | | |