TizenRefApp-8433 [Gallery] Implement event and caching mechanism in Model 33/127533/1
authorIgor Nazarov <i.nazarov@samsung.com>
Thu, 27 Apr 2017 16:51:49 +0000 (19:51 +0300)
committerIgor Nazarov <i.nazarov@samsung.com>
Thu, 27 Apr 2017 16:58:37 +0000 (19:58 +0300)
commit62491dcb2a6b9b36ffdb2c9b16d633a6584a0393
treeb6701d0490c82ac5abfd0ac0403fe9cceb7bc684
parentdaffffec07188a36438c0973e270066971eb4707
TizenRefApp-8433 [Gallery] Implement event and caching mechanism in Model

- IMediaAlbum and Gallery interfaces extended. Reimplemented GalleryAlbum
  to cache MediaItems instead of requesting from DB each time;
- Fixed bux when transtion finished was not called from Naviframe in some
  cases;
- ucl::Event invoke() method renamed to dispatch();
- ucl::Event dispatch() method logic changed to not dispatch to a newly
  registered handlers while handling current event.

Change-Id: Ic8c99c4baca33aff104bbf221194207752677cbd
14 files changed:
inc/model/Gallery.h
inc/model/IMediaAlbum.h
src/model/Gallery.cpp
src/model/GalleryAlbum.cpp
src/model/GalleryAlbum.h
src/presenters/Instance.cpp
src/presenters/Page.cpp
ucl/inc/ucl/gui/Naviframe.h
ucl/inc/ucl/gui/Naviframe.hpp
ucl/inc/ucl/misc/Event.h
ucl/inc/ucl/misc/Event.hpp
ucl/src/appfw/SysEventProvider.cpp
ucl/src/gui/NaviItem.cpp
ucl/src/gui/Naviframe.cpp