Allow configurable speed factor when ItemView is being swiped.
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / public-api / controls / scrollable / item-view / item-layout.cpp
index b79c6e7..c4f94f0 100644 (file)
@@ -237,6 +237,12 @@ int ItemLayout::GetNextFocusItemID(int itemID, int maxItems, Dali::Toolkit::Cont
   return itemID;
 }
 
+float ItemLayout::GetFlickSpeedFactor() const
+{
+  // By default, the speed factor while dragging and swiping is the same.
+  return GetScrollSpeedFactor();
+}
+
 } // namespace Toolkit
 
 } // namespace Dali