projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix ItemView insert/remove when outside the current visible range
[platform/core/uifw/dali-toolkit.git]
/
base
/
dali-toolkit
/
internal
/
controls
/
scrollable
/
item-view
/
item-view-impl.h
diff --git
a/base/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h
b/base/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h
index
dba4629
..
51bb3ae
100644
(file)
--- a/
base/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h
+++ b/
base/dali-toolkit/internal/controls/scrollable/item-view/item-view-impl.h
@@
-289,7
+289,7
@@
private:
/**
* Remove an Actor if found in the ItemPool.
* @param[in] itemId The item to remove.
/**
* Remove an Actor if found in the ItemPool.
* @param[in] itemId The item to remove.
- * @return True if
an actor was remov
ed.
+ * @return True if
the remaining actors were reorder
ed.
*/
bool RemoveActor( unsigned int itemId );
*/
bool RemoveActor( unsigned int itemId );
@@
-399,6
+399,11
@@
private:
void ReapplyAllConstraints( float durationSeconds );
/**
void ReapplyAllConstraints( float durationSeconds );
/**
+ * Helper to relayout after item(s) are removed.
+ */
+ void OnItemsRemoved();
+
+ /**
* Helper to remove items outside a given range.
* @param[in] range The range of required items.
*/
* Helper to remove items outside a given range.
* @param[in] range The range of required items.
*/