RefreshList optimization
authorJinhwan Kim <jh-21.kim@samsung.com>
Mon, 1 Apr 2013 08:05:45 +0000 (17:05 +0900)
committerJinhwan Kim <jh-21.kim@samsung.com>
Mon, 1 Apr 2013 08:05:45 +0000 (17:05 +0900)
Change-Id: I838ac866e81a9cbc0f19efa2e0765e36417ce5f3
Signed-off-by: Jinhwan Kim <jh-21.kim@samsung.com>
src/ui/controls/FUiCtrl_GroupedListViewImpl.cpp
src/ui/controls/FUiCtrl_ListViewImpl.cpp

index 67b9c02..5cb1fe9 100644 (file)
@@ -700,8 +700,8 @@ _GroupedListViewImpl::RefreshList(int groupIndex, int itemIndex, ListRefreshType
 
        if (needFlush)
        {
-               Draw();
-               Show();
+               pListViewItem->Draw();
+               pListViewItem->Show();
        }
 
        SetLastResultReturn(r);
index c4d3a6f..081d82b 100644 (file)
@@ -672,8 +672,8 @@ _ListViewImpl::RefreshList(int index, ListRefreshType type, bool needFlush)
 
        if (needFlush)
        {
-               Draw();
-               Show();
+               pListViewItem->Draw();
+               pListViewItem->Show();
        }
 
        SetLastResultReturn(r);