}
pDataList->Add(*(new (std::nothrow) String(L"attachment:" + pContentInfoStruct->ContentFilePath)));
- __pContentTableView->SetItemChecked(iCount, false);
+ // __pContentTableView->SetItemChecked(iCount, false);
delete pContentInfoStruct;
pContentInfoStruct = null;
}
}
- pFooter->SetItemEnabled(INDEX_FOOTER_DELETE, false);
- pFooter->SetItemEnabled(INDEX_FOOTER_SHARE, false);
- pFooter->SetItemEnabled(INDEX_FOOTER_ADDTOPLATLIST, false);
+ // pFooter->SetItemEnabled(INDEX_FOOTER_DELETE, false);
+ // pFooter->SetItemEnabled(INDEX_FOOTER_SHARE, false);
+ // pFooter->SetItemEnabled(INDEX_FOOTER_ADDTOPLATLIST, false);
- __checkedItemCount = INIT_VALUE;
+ // __checkedItemCount = INIT_VALUE;
CommonUtil::ShowCheckedCountLabel(*__pCheckedCountLabel, __checkedItemCount, *__pContentTableView, *this);
CommonUtil::ShowSelectAllCheckButton(*__pSelectAllCheckedButton);
pDataList->Add(*(new (std::nothrow) String(pContentInfoStruct->ContentFilePath)));
- __pContentTableView->SetItemChecked(iCount, false);
+ // __pContentTableView->SetItemChecked(iCount, false);
delete pContentInfoStruct;
pContentInfoStruct = null;
__pPlayListPickerPopup->Show();
//__pPlayListPickerPopup->SetCollectedContent(pDataList);
- pFooter->SetItemEnabled(INDEX_FOOTER_DELETE, false);
- pFooter->SetItemEnabled(INDEX_FOOTER_SHARE, false);
- pFooter->SetItemEnabled(INDEX_FOOTER_ADDTOPLATLIST, false);
+ // pFooter->SetItemEnabled(INDEX_FOOTER_DELETE, false);
+ // pFooter->SetItemEnabled(INDEX_FOOTER_SHARE, false);
+ // pFooter->SetItemEnabled(INDEX_FOOTER_ADDTOPLATLIST, false);
- __checkedItemCount = INIT_VALUE;
+ // __checkedItemCount = INIT_VALUE;
CommonUtil::ShowCheckedCountLabel(*__pCheckedCountLabel, __checkedItemCount, *__pContentTableView, *this);
CommonUtil::ShowSelectAllCheckButton(*__pSelectAllCheckedButton);
delete pThumbnailInfo;
delete static_cast<int*>(pParam);
AppLogDebug("EXIT");
-}
\ No newline at end of file
+}
delete __pPlayListPickerPopup;
__pPlayListPickerPopup = null;
}
+
+ if (pArgs == null)
+ {
+ AppLogDebug("EXIT_1");
+ return;
+ }
+
+ Boolean* pIsInitialize = static_cast<Boolean*>(pArgs->GetAt(0));
+ if (pIsInitialize->Equals(true))
+ {
+ __checkedItemCount = INIT_VALUE;
+ SetCheckedCountBalloonPopup(__checkedItemCount);
+
+ int totalCount = __pPresentationModel->GetAllAlbumCount();
+ for (int iCount = 0; iCount < totalCount; iCount++)
+ {
+ __pContentTableView->SetItemChecked(iCount, false);
+ }
+
+ Form* pForm = dynamic_cast<Form*>(GetParent());
+ Footer* pFooter = pForm->GetFooter();
+ CommonUtil::SetFooterItemEnabled(*pFooter, false);
+ Invalidate(true);
+ }
+ pArgs->RemoveAll(true);
+ delete pArgs;
}
AppLogDebug("EXIT");
}
__pThumbnail = null;
pThumbnailLabel->Invalidate(true);
AppLogDebug("EXIT");
-}
\ No newline at end of file
+}
if (__pContentTableView->IsItemChecked(iCount) == true)
{
pDataList->Add(__pPresentationModel->GetCheckedContent(iCount));
- __pContentTableView->SetItemChecked(iCount, false);
+ // __pContentTableView->SetItemChecked(iCount, false);
}
}
__pPlayListPickerPopup->SetShowState(true);
__pPlayListPickerPopup->Show();
- __checkedItemCount = INIT_VALUE;
+ // __checkedItemCount = INIT_VALUE;
SetCheckedCountBalloonPopup(__checkedItemCount);
SetUnCheckedIconAllCheckButton();
- CommonUtil::SetFooterItemEnabled(*pFooter, false);
+ // CommonUtil::SetFooterItemEnabled(*pFooter, false);
__pContentTableView->Invalidate(true);
}
break;
delete __pPlayListPickerPopup;
__pPlayListPickerPopup = null;
}
+
+ if (pArgs == null)
+ {
+ AppLogDebug("EXIT_1");
+ return;
+ }
+
+ Boolean* pIsInitialize = static_cast<Boolean*>(pArgs->GetAt(0));
+ if (pIsInitialize->Equals(true))
+ {
+ __checkedItemCount = INIT_VALUE;
+ SetCheckedCountBalloonPopup(__checkedItemCount);
+
+ int totalCount = __pPresentationModel->GetTotalCount();
+ for (int iCount = 0; iCount < totalCount; iCount++)
+ {
+ __pContentTableView->SetItemChecked(iCount, false);
+ }
+
+ Form* pForm = dynamic_cast<Form*>(GetParent());
+ Footer* pFooter = pForm->GetFooter();
+ CommonUtil::SetFooterItemEnabled(*pFooter, false);
+ Invalidate(true);
+ }
+ pArgs->RemoveAll(true);
+ delete pArgs;
}
- AppLogDebug("EXIT");
+ AppLogDebug("EXIT_2");
}
void
__pThumbnail = null;
pThumbnailLabel->Invalidate(true);
AppLogDebug("EXIT");
-}
\ No newline at end of file
+}
delete __pPlayListPickerPopup;
__pPlayListPickerPopup = null;
}
+
+ if (pArgs == null)
+ {
+ AppLogDebug("EXIT_1");
+ return;
+ }
+
+ Boolean* pIsInitialize = static_cast<Boolean*>(pArgs->GetAt(0));
+ if (pIsInitialize->Equals(true))
+ {
+ __checkedItemCount = INIT_VALUE;
+ SetCheckedCountBalloonPopup(__checkedItemCount);
+
+ int totalCount = __pPresentationModel->GetArtistListCount();
+ for (int iCount = 0; iCount < totalCount; iCount++)
+ {
+ __pContentTableView->SetItemChecked(iCount, false);
+ }
+
+ Form* pForm = dynamic_cast<Form*>(GetParent());
+ Footer* pFooter = pForm->GetFooter();
+ CommonUtil::SetFooterItemEnabled(*pFooter, false);
+ Invalidate(true);
+ }
+ pArgs->RemoveAll(true);
+ delete pArgs;
}
AppLogDebug("EXIT");
}
__pThumbnail = null;
pThumbnailLabel->Invalidate(true);
AppLogDebug("EXIT");
-}
\ No newline at end of file
+}
using namespace Tizen::Base;
using namespace Tizen::Base::Runtime;
using namespace Tizen::Base::Utility;
+using namespace Tizen::Base::Collection;
using namespace Tizen::Content;
using namespace Tizen::Graphics;
using namespace Tizen::Io;
AppLogDebug("ENTER");
SceneManager* pSceneManager = SceneManager::GetInstance();
AppAssert(pSceneManager);
+
+ Tizen::Base::Collection::ArrayList* pDataList = new (std::nothrow) ArrayList();
+ pDataList->Construct();
+ pDataList->Add(*(new (std::nothrow) Boolean(false)));
+
if (actionId == IDA_BUTTON_CANCEL)
{
SetShowState(false);
Invalidate(true);
- __pControl->SendUserEvent(ID_DESTORY_PLAY_LIST_PICKER_POPUP, null);
- }
- if (actionId == IDA_BUTTON_CREATE)
+ __pControl->SendUserEvent(ID_DESTORY_PLAY_LIST_PICKER_POPUP, pDataList);
+ }
+ else if (actionId == IDA_BUTTON_CREATE)
{
SetShowState(false);
Invalidate(true);
{
pSceneManager->GoForward(ForwardSceneTransition(IDSCN_PLAYLIST_CREATOR));
}
- __pControl->SendUserEvent(ID_DESTORY_PLAY_LIST_PICKER_POPUP, null);
+ __pControl->SendUserEvent(ID_DESTORY_PLAY_LIST_PICKER_POPUP, pDataList);
}
AppLogDebug("EXIT");
}
int modalResult = 0;
messageBox.ShowAndWait(modalResult);
}
- __pControl->SendUserEvent(ID_DESTORY_PLAY_LIST_PICKER_POPUP, null);
+
+ Tizen::Base::Collection::ArrayList* pDataList = new (std::nothrow) ArrayList();
+ pDataList->Construct();
+ pDataList->Add(*(new (std::nothrow) Boolean(true)));
+
+ __pControl->SendUserEvent(ID_DESTORY_PLAY_LIST_PICKER_POPUP, pDataList);
}
AppLogDebug("EXIT");
}