if (__pPresentationModel->GetAppControlMode() == APPCONTROL_MODE_PICK)
{
SetFormBackEventListener(this);
+ pFooter->SetShowState(false);
}
else
{
+ pFooter->SetShowState(true);
pFooter->SetStyle(FOOTER_STYLE_BUTTON_ICON);
pFooter->RemoveAllItems();
}
__pAlbumViewIconList->SetTextOfEmptyList(ResourceManager::GetString(L"IDS_COM_BODY_NO_ITEMS"));
- AddControl(*__pAlbumViewIconList);
+ AddControl(__pAlbumViewIconList);
__pAlbumViewIconList->SetShowState(true);
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
AppLogDebug("ENTER");
__pPresentationModel->RemovePresentationModelListener(*this);
__pPresentationModel->RemoveContentEventListener(*this);
- if (__pContextMenuMore != null)
- {
- delete __pContextMenuMore;
- __pContextMenuMore = null;
- }
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
return E_SUCCESS;
new (std::nothrow) String(APPCONTROL_DATA_TRUE));
__pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_CAMERA,
APPCONTROL_OPERATION_ID_CREATE_CONTENT, null,
- new (std::nothrow) String(APPCONTROL_MIME_IMAGE_JPG), pDataList, null);
+ new (std::nothrow) String(APPCONTROL_MIME_IMAGE_JPG), pDataList, this);
}
break;
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
}
+void
+AlbumListForm::OnAppControlCompleteResponseReceived(const AppId& appId, const Tizen::Base::String& operationId,
+ AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pExtraData)
+{
+ AppLogDebug("OnAppControlCompleteResponseReceived : %d", appControlResult);
+
+ GalleryApp* pGalleryApp = static_cast<GalleryApp*>(GalleryApp::GetInstance());
+ TryReturnVoid(pGalleryApp != null, "pGalleryApp is null");
+ pGalleryApp->SetFrameEnabled(true);
+}
+
result
AlbumListForm::Update(void)
{
AlbumListForm::OnFormMenuRequested (Tizen::Ui::Controls::Form &source)
{
- if ( __pOptionMenu == null )
+ if ( __pOptionMenu == null || GetItemCount() == 0)
{
return ;
}
__pAlbumViewIconList->SetItemBorderStyle(ICON_LIST_VIEW_ITEM_BORDER_STYLE_NONE);
__pAlbumViewIconList->AddIconListViewItemEventListener(*this);
- AddControl(*__pAlbumViewIconList);
+ AddControl(__pAlbumViewIconList);
}
-
-
-
-
-
-