diff options
author | Seunghyun Choi <sh4682.choi@samsung.com> | 2017-05-23 17:01:51 +0900 |
---|---|---|
committer | Seungkeun Lee <sngn.lee@samsung.com> | 2017-06-14 05:35:14 +0000 |
commit | 3735fbe1b7f9165d4bd185546997e61292ef016c (patch) | |
tree | 6d6951b3f7c06b8bd76ec9ccef47d7c5909972cf /ElmSharp/ElmSharp/ItemObject.cs | |
parent | 3195e8645ceda03706551c04b3edf93fd1f22b58 (diff) | |
download | elm-sharp-3735fbe1b7f9165d4bd185546997e61292ef016c.tar.gz elm-sharp-3735fbe1b7f9165d4bd185546997e61292ef016c.tar.bz2 elm-sharp-3735fbe1b7f9165d4bd185546997e61292ef016c.zip |
Enhance GenList and GenGrid Widgets
- Need group SR
- Do not submit before ready to Xamarin.Forms.Tizen and Extensions
Change-Id: Iadb16b83a89d53472996a42b0065dbb934603ed4
Signed-off-by: Seunghyun Choi <sh4682.choi@samsung.com>
Diffstat (limited to 'ElmSharp/ElmSharp/ItemObject.cs')
-rw-r--r--[-rwxr-xr-x] | ElmSharp/ElmSharp/ItemObject.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ElmSharp/ElmSharp/ItemObject.cs b/ElmSharp/ElmSharp/ItemObject.cs index 7e402a7..84a1b5e 100755..100644 --- a/ElmSharp/ElmSharp/ItemObject.cs +++ b/ElmSharp/ElmSharp/ItemObject.cs @@ -208,8 +208,13 @@ namespace ElmSharp internal static ItemObject GetItemByHandle(IntPtr handle) { - ItemObject value; + ItemObject value = null; s_HandleToItemTable.TryGetValue(handle, out value); + if (value == null) + { + int id = (int)Interop.Elementary.elm_object_item_data_get(handle); + return GetItemById(id); + } return value; } |