ItemView cache should always be refreshed during scrolling 93/24193/1
authorRichard Huang <r.huang@samsung.com>
Fri, 27 Jun 2014 10:40:35 +0000 (11:40 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 17:47:52 +0000 (18:47 +0100)
commitbc67da251f806cfa64940c3799eeafb1fc6d8c73
tree65cf3d62c76a18881d40f95565fd0553618d1a15
parent0a8c04cf17eea5d52982c59ebb0e03c06c1c8dd2
ItemView cache should always be refreshed during scrolling

[problem]      When ItemView is scrolling, activate a new layout and no new items are
               created.
[cause]        Caching extra items are avoided when activating new layout in order to
               improve the performance. However, new layout can be activated during
               scrolling, and no new items are created in that case.
[solution]     Always refresh the cache with extra items while scrolling.

Change-Id: I12a5810b2c35891d1928a9853a6ed1d21e1eada4
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
base/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.cpp