Stay organized with collections
Save and categorize content based on your preferences.
WearableDrawerView.DrawerState
public
static
abstract
@interface
WearableDrawerView.DrawerState
implements
Annotation
android.support.wearable.view.drawer.WearableDrawerView.DrawerState
|
This @interface is deprecated.
use the androidx.wear.widget.drawer.WearableDrawerView
provided by the Jetpack Wear library instead.
Enumeration of possible drawer states.
Summary
Constants |
int |
STATE_DRAGGING
Indicates that the drawer is currently being dragged by the user.
|
int |
STATE_IDLE
Indicates that the drawer is in an idle, settled state.
|
int |
STATE_SETTLING
Indicates that the drawer is in the process of settling to a final position.
|
Constants
STATE_DRAGGING
public static final int STATE_DRAGGING
Indicates that the drawer is currently being dragged by the user.
Constant Value:
1
(0x00000001)
STATE_IDLE
public static final int STATE_IDLE
Indicates that the drawer is in an idle, settled state. No animation is in progress.
Constant Value:
0
(0x00000000)
STATE_SETTLING
public static final int STATE_SETTLING
Indicates that the drawer is in the process of settling to a final position.
Constant Value:
2
(0x00000002)
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,["# WearableDrawerView.DrawerState\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nWearableDrawerView.DrawerState\n==============================\n\n\n`\npublic\nstatic\n\nabstract\n@interface\nWearableDrawerView.DrawerState\n`\n\n\n`\n\n\nimplements\n\n`[Annotation](http://developer.android.com/reference/java/lang/annotation/Annotation.html)`\n\n\n`\n\n|---------------------------------------------------------------------|\n| android.support.wearable.view.drawer.WearableDrawerView.DrawerState |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\n**This @interface is deprecated.** \n\nuse the `androidx.wear.widget.drawer.WearableDrawerView` provided by the [Jetpack Wear](../../../../../../jetpack/androidx/releases/wear) library instead.\n\nEnumeration of possible drawer states.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [STATE_DRAGGING](../../../../../../reference/android/support/wearable/view/drawer/WearableDrawerView.DrawerState.html#STATE_DRAGGING) Indicates that the drawer is currently being dragged by the user. |\n| `int` | [STATE_IDLE](../../../../../../reference/android/support/wearable/view/drawer/WearableDrawerView.DrawerState.html#STATE_IDLE) Indicates that the drawer is in an idle, settled state. |\n| `int` | [STATE_SETTLING](../../../../../../reference/android/support/wearable/view/drawer/WearableDrawerView.DrawerState.html#STATE_SETTLING) Indicates that the drawer is in the process of settling to a final position. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From interface ` `[java.lang.annotation.Annotation](http://developer.android.com/reference/java/lang/annotation/Annotation.html)` ` |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------| | ` abstract `[Class](http://developer.android.com/reference/java/lang/Class.html)`\u003c? extends `[Annotation](http://developer.android.com/reference/java/lang/annotation/Annotation.html)`\u003e` | ` annotationType() ` | | ` abstract boolean` | ` equals(`[Object](http://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` abstract int` | ` hashCode() ` | | ` abstract `[String](http://developer.android.com/reference/java/lang/String.html) | ` toString() ` | ||\n\nConstants\n---------\n\n### STATE_DRAGGING\n\n```\npublic static final int STATE_DRAGGING\n```\n\nIndicates that the drawer is currently being dragged by the user.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)\n\n\n### STATE_IDLE\n\n```\npublic static final int STATE_IDLE\n```\n\nIndicates that the drawer is in an idle, settled state. No animation is in progress.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)\n\n\n### STATE_SETTLING\n\n```\npublic static final int STATE_SETTLING\n```\n\nIndicates that the drawer is in the process of settling to a final position.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)"]]