Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IScrollableView2

interface IScrollableView2
Extends IScrollableView IScrollableView2 interface extends IScrollableView and defines new methods for scrollable components. Scrollable components are those that can be scrolled either vertically or horizontally to view content that exceeds the visible area.

Methods

isSmoothScrollingEnabled()

bool isSmoothScrollingEnabled()
Checks whether scrollable view transitions will animate. Returns whether the scrollable view will animate its transitions. By default, smooth scrolling is enabled, meaning scroll transition will animate.

Returns

bool true if scrollable view animates its transition, false otherwise.

setSmoothScrollingEnabled()

void setSmoothScrollingEnabled(bool smoothScrollingEnabled)
Enables or disables whether scrollable view transitions will animate. This method sets whether scrolling will animate its transition. By default, smooth scrolling is enabled, meaning scroll transition will animate.

Parameters

smoothScrollingEnabled
bool — Required Set to true to enable smooth scrolling, or false to disable it.
Last modified on October 29, 2026