Stay organized with collections
Save and categorize content based on your preferences.
public
static
interface
SlidingDrawer.OnDrawerScrollListener
android.widget.SlidingDrawer.OnDrawerScrollListener
|
Callback invoked when the drawer is scrolled.
Summary
Public methods |
abstract
void
|
onScrollEnded()
Invoked when the user stops dragging/flinging the drawer's handle.
|
abstract
void
|
onScrollStarted()
Invoked when the user starts dragging/flinging the drawer's handle.
|
Public methods
public abstract void onScrollEnded ()
Invoked when the user stops dragging/flinging the drawer's handle.
public abstract void onScrollStarted ()
Invoked when the user starts dragging/flinging the drawer's handle.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# SlidingDrawer.OnDrawerScrollListener\n\nAdded in [API level 3](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nDeprecated in [API level\n29](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nSlidingDrawer.OnDrawerScrollListener\n====================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/widget/SlidingDrawer.OnDrawerScrollListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nSlidingDrawer.OnDrawerScrollListener\n`\n\n\n`\n\n\n`\n\n|-----------------------------------------------------|\n| android.widget.SlidingDrawer.OnDrawerScrollListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nCallback invoked when the drawer is scrolled.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onScrollEnded](/reference/android/widget/SlidingDrawer.OnDrawerScrollListener#onScrollEnded())`() ` Invoked when the user stops dragging/flinging the drawer's handle. |\n| ` abstract void` | ` `[onScrollStarted](/reference/android/widget/SlidingDrawer.OnDrawerScrollListener#onScrollStarted())`() ` Invoked when the user starts dragging/flinging the drawer's handle. |\n\nPublic methods\n--------------\n\n### onScrollEnded\n\nAdded in [API level 3](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onScrollEnded ()\n```\n\nInvoked when the user stops dragging/flinging the drawer's handle.\n\n\u003cbr /\u003e\n\n### onScrollStarted\n\nAdded in [API level 3](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onScrollStarted ()\n```\n\nInvoked when the user starts dragging/flinging the drawer's handle.\n\n\u003cbr /\u003e"]]