New API to get the range of items in the current ItemView cache
[platform/core/uifw/dali-toolkit.git] / capi / dali-toolkit / public-api / controls / scrollable / item-view / item-view.h
index 82c9c83..61c7265 100644 (file)
@@ -44,6 +44,7 @@ class ItemView;
 class ScrollConnector;
 class ItemFactory;
 class ItemLayout;
+struct ItemRange;
 
 typedef IntrusivePtr<ItemLayout> ItemLayoutPtr;
 
@@ -412,6 +413,13 @@ public:
    */
   Vector3 GetItemsAnchorPoint() const;
 
+  /**
+   * @brief Get the range of items that are currently in ItemView.
+   *
+   * @param[out] range The range of items.
+   */
+  void GetItemsRange(ItemRange& range);
+
 public: // Not intended for application developers
 
   /**