if (previousSceneId == IDSCN_ALL_LIST_SELECTION)
{
- if (pArgs != null && pArgs->GetCount() > 0)
+ if (pArgs != null)
{
- IList* pSeletedIndexList = pArgs;
- int loopCount = pSeletedIndexList->GetCount();
- for (int i = 0; i < loopCount; ++i)
+ if (__pContentIconListView != null)
{
- int index = static_cast<Integer*>(pSeletedIndexList->GetAt(i))->ToInt();
- __pContentIconListView->SetItemChecked(index, true);
+ int loopCount = __pPresentationModel->GetCurrentAlbumContentInfoCount();
+ for (int i = 0; i < loopCount; ++i)
+ {
+ __pContentIconListView->SetItemChecked(i, false);
+ }
+ }
+
+ if( pArgs->GetCount() > 0) //SomeItems are Still Selected.
+ {
+ IList* pSeletedIndexList = pArgs;
+ int loopCount = pSeletedIndexList->GetCount();
+ for (int i = 0; i < loopCount; ++i)
+ {
+ int index = static_cast<Integer*>(pSeletedIndexList->GetAt(i))->ToInt();
+ __pContentIconListView->SetItemChecked(index, true);
+ }
+ __pContentIconListView->RequestRedraw(true);
}
- __pContentIconListView->RequestRedraw(true);
}
int checkedCount = GetItemCheckedCount();
__pLabelSelectCnt->SetText(strTmp);
__pLabelSelectCnt->RequestRedraw(true);
- SetButtonState();
}
else if (previousSceneId == IDSCN_ALL_LIST)
{
{
++count;
}
+ else
+ {
+ AppLog("Index i = %d is Not Checked", i);
+ }
}
}
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
pList = new (std::nothrow) ArrayList(SingleObjectDeleter);
}
- pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_ALL_LIST_EDITOR), pList);
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALL_LIST_EDITOR, SCENE_TRANSITION_ANIMATION_TYPE_NONE,
+ SCENE_HISTORY_OPTION_ADD_HISTORY, SCENE_DESTROY_OPTION_DESTROY), pList);
}
}
else