private static List<string> labelList;\r
private int currentIndex = -1;\r
private int pickerIndex = 0;\r
+ static AppBarStyle appBarStyle;\r
\r
public SettingDefaultKeyboard(Window parentWindow) : base()\r
{\r
AutoNavigationContent = false,\r
};\r
\r
- AppBarStyle appBarStyle = (AppBarStyle)ThemeManager.GetStyle("Tizen.NUI.Components.AppBar");\r
+ appBarStyle = (AppBarStyle)ThemeManager.GetStyle("Tizen.NUI.Components.AppBar");\r
Button backButton = new Button(((AppBarStyle)appBarStyle).BackButton);\r
appBar.NavigationContent = backButton;\r
\r
Content = root;\r
}\r
\r
+ ~SettingDefaultKeyboard()\r
+ {\r
+ appBarStyle?.Dispose();\r
+ }\r
+\r
private void onValueChanged(object sender, ValueChangedEventArgs e)\r
{\r
Log.Debug(LogTag, "current index : " + e.Value.ToString());\r
static SettingItem defaultKeyboard;\r
static int keyboardCount;\r
static List<SettingItem> installedKeyboards = new List<SettingItem>();\r
+ static AppBarStyle appBarStyle;\r
\r
protected override void OnCreate(string contentInfo, Window window)\r
{\r
AutoNavigationContent = false,\r
};\r
\r
- AppBarStyle appBarStyle = (AppBarStyle)ThemeManager.GetStyle("Tizen.NUI.Components.AppBar");\r
+ appBarStyle = (AppBarStyle)ThemeManager.GetStyle("Tizen.NUI.Components.AppBar");\r
Button backButton = new Button(((AppBarStyle)appBarStyle).BackButton);\r
\r
backButton.Clicked += (object source, ClickedEventArgs args) =>\r
\r
protected override void OnTerminate(string contentInfo, TerminationType type)\r
{\r
+ appBarStyle?.Dispose();\r
base.OnTerminate(contentInfo, type);\r
}\r
\r