From edc8b6a706d870ba22fcdce929445e2a8f88c165 Mon Sep 17 00:00:00 2001 From: "Heonjae.Jang" Date: Fri, 22 Sep 2017 17:54:12 +0900 Subject: [PATCH] Fix Issues [TNEXT-3687] Change-Id: Ia13e7563ec2332b359808636ae0c1fef31df5d5c Signed-off-by: Heonjae.Jang --- .../ViewModels/MusicTabViewModel.cs | 2 + .../TVMediaHub.Tizen/Views/MusicGroup.xaml.cs | 15 +- TVMediaHub/TVMediaHub.Tizen/Views/MusicTab.xaml.cs | 158 ++++++++++++++++++++- 3 files changed, 165 insertions(+), 10 deletions(-) diff --git a/TVMediaHub/TVMediaHub.Tizen/ViewModels/MusicTabViewModel.cs b/TVMediaHub/TVMediaHub.Tizen/ViewModels/MusicTabViewModel.cs index a953a38..230d29f 100755 --- a/TVMediaHub/TVMediaHub.Tizen/ViewModels/MusicTabViewModel.cs +++ b/TVMediaHub/TVMediaHub.Tizen/ViewModels/MusicTabViewModel.cs @@ -20,6 +20,7 @@ using System.Collections.ObjectModel; using System.ComponentModel; using System.IO; using System.Threading; +using System.Threading.Tasks; using System.Windows.Input; using TVMediaHub.Tizen.DataModels; using TVMediaHub.Tizen.Models; @@ -220,6 +221,7 @@ namespace TVMediaHub.Tizen.ViewModels foreach (var group in templist) { + await Task.Delay(1); MusicList.Add(group); foreach(var item in group.Contents) { diff --git a/TVMediaHub/TVMediaHub.Tizen/Views/MusicGroup.xaml.cs b/TVMediaHub/TVMediaHub.Tizen/Views/MusicGroup.xaml.cs index 5da3d7b..b71f2f3 100755 --- a/TVMediaHub/TVMediaHub.Tizen/Views/MusicGroup.xaml.cs +++ b/TVMediaHub/TVMediaHub.Tizen/Views/MusicGroup.xaml.cs @@ -14,6 +14,7 @@ * limitations under the License. */ +using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Input; @@ -79,6 +80,10 @@ namespace TVMediaHub.Tizen.Views /// right side items for focus chain /// public List