*/
using System;
+using System.Timers;
using Tizen.Applications.NotificationEventListener;
using Tizen.NUI;
using Notifications.Common;
private NotificationsViewModel notificationsViewModel;
private NotificationsDetailViewModel notificationsDetailViewModel;
private BaseView baseView;
+ private System.Timers.Timer timer;
public ViewManager()
{
notificationsViewModel = new NotificationsViewModel();
baseView.BackKeyPressed += OnBackKeyPressed;
Window.Instance.Add(baseView);
- Window.Instance.Resized += OnWindowResized;
+
+ timer = new System.Timers.Timer(500);
+ timer.Elapsed += (s, e) =>
+ {
+ Window.Instance.Resized += OnWindowResized;
+ timer.Stop();
+ };
+ timer.Start();
ThemeManager.ThemeChanged += OnThemeChanged;
}