Solved List update issue
authorSeema <seema.nagraj@samsung.com>
Thu, 20 Jun 2013 11:41:10 +0000 (17:11 +0530)
committerSeema <seema.nagraj@samsung.com>
Thu, 20 Jun 2013 11:41:10 +0000 (17:11 +0530)
Change-Id: Ibab2ef9592b1ea1eece766a28e4b14d23e029ece
Signed-off-by: Seema <seema.nagraj@samsung.com>
src/MmListForm.cpp

index 24949b2..4b67c16 100644 (file)
@@ -206,6 +206,7 @@ MemoListForm::DisplayData(RequestId requestId, Tizen::Base::Collection::IList* p
                        MemoListPresentationModel::GetInstance()->ResetListIndex(ID_MEMO_LIST);
                        __pMemoListView->SetItemProvider(*GetItemProvider(ID_MEMO_LIST));
                        __pMemoListView->SetShowState(true);
+                       __pMemoListView->UpdateList();
                        //Show the number of memo in header
                        SetListFormTitle(ID_MEMO_LIST);
                        //Enable or disable the edit option depending on the memo count
@@ -228,7 +229,7 @@ MemoListForm::DisplayData(RequestId requestId, Tizen::Base::Collection::IList* p
                        //Set search list item provider
                        MemoListPresentationModel::GetInstance()->ResetListIndex(ID_SEARCH_LIST);
                        __pMemoListView->SetItemProvider(*GetItemProvider(ID_SEARCH_LIST));
-
+                       __pMemoListView->UpdateList();
                        if(__pSearchBar->GetTextLength() != 0)
                        {
                                __pMemoListView->SetEnabled(true);