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 IEditableView2

interface IEditableView2
Extends IEditableView This interface extends IEditableView to add the capability to listen to scroll events.

Methods

setScrollListener()

com.amazon.apmf.ISubscription* setScrollListener(IScrollListener* scrollListener)
Sets the scroll listener to receive notifications for scrolling events, such as scroll start and scroll end.

Parameters

scrollListener
IScrollListener* — Required Pointer to an instance of IScrollListener.

Returns

com.amazon.apmf.ISubscription* Pointer to ISubscription object specific to the registered listener, which can be used for later removal. Note: If this function is called multiple times, the previously set scroll listener will be unsubscribed and overridden. Subsequent calls with a different listener will replace the existing one, and the new listener will be notified of scrolling events.
Last modified on October 29, 2026