Stop caching extra items while activating layout in ItemView 87/24187/1
authorRichard Huang <r.huang@samsung.com>
Tue, 24 Jun 2014 15:09:07 +0000 (16:09 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 17:47:39 +0000 (18:47 +0100)
commit44ceff8b51b5dbdac1181f25a08df188a97038da
tree8271c942388c5ac67778cac91b000e276e4d2b80
parent41075b908cea6fe985de0b52984103766b9f5460
Stop caching extra items while activating layout in ItemView

[problem]      While activating new layout, ItemView tries to cache extra items.
               But this can block the event thread if it takes very long time to
               create these extra items.
[solution]     Only create visible items while activating layout, and cache extra
               items only when scrolling.

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