package

androidx.core.view

Interfaces

ActionProvider.SubUiVisibilityListener
ActionProvider.VisibilityListenerListens to changes in visibility as reported by ActionProvider.refreshVisibility().
DragStartHelper.OnDragStartListenerInterface definition for a callback to be invoked when a drag start gesture is detected.
KeyEventDispatcher.ComponentImplement this in any component that dispatches s.
LayoutInflaterFactoryUsed with LayoutInflaterCompat.setFactory().
MenuItemCompat.OnActionExpandListenerInterface definition for a callback to be invoked when a menu item marked with MenuItemCompat.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW is expanded or collapsed.
NestedScrollingChildThis interface should be implemented by View subclasses that wish to support dispatching nested scrolling operations to a cooperating parent ViewGroup.
NestedScrollingChild2This interface should be implemented by View subclasses that wish to support dispatching nested scrolling operations to a cooperating parent ViewGroup.
NestedScrollingChild3This interface should be implemented by View subclasses that wish to support dispatching nested scrolling operations to a cooperating parent ViewGroup.
NestedScrollingParentThis interface should be implemented by ViewGroup subclasses that wish to support scrolling operations delegated by a nested child view.
NestedScrollingParent2This interface should be implemented by ViewGroup subclasses that wish to support scrolling operations delegated by a nested child view.
NestedScrollingParent3This interface should be implemented by ViewGroup subclasses that wish to support scrolling operations delegated by a nested child view.
OnApplyWindowInsetsListenerListener for applying window insets on a view in a custom way.
ScrollingViewAn interface that can be implemented by Views to provide scroll related APIs.
TintableBackgroundViewInterface which allows a android.view.View to receive background tinting calls from ViewCompat when running on API v20 devices or lower.
ViewCompat.OnUnhandledKeyEventListenerCompatInterface definition for a callback to be invoked when a hardware key event hasn't been handled by the view hierarchy.
ViewPropertyAnimatorListener

An animation listener receives notifications from an animation.

ViewPropertyAnimatorUpdateListenerImplementors of this interface can add themselves as update listeners to an ViewPropertyAnimatorCompat instance to receive callbacks on every animation frame, after the current frame's values have been calculated for that ViewPropertyAnimatorCompat.

Classes

AccessibilityDelegateCompatHelper for accessing .
ActionProviderThis class is a mediator for accomplishing a given task, for example sharing a file.
DisplayCutoutCompatRepresents the area of the display that is not functional for displaying content.
DragAndDropPermissionsCompatHelper for accessing features in a backwards compatible fashion.
DragStartHelperDragStartHelper is a utility class for implementing drag and drop support.
GestureDetectorCompatDetects various gestures and events using the supplied MotionEvents.
GravityCompatCompatibility shim for accessing newer functionality from .
InputDeviceCompatHelper class for accessing values in .
KeyEventDispatcherAllows dependent components to enable full dispatch compatibility in core.
LayoutInflaterCompatHelper for accessing features in LayoutInflater.
MarginLayoutParamsCompatHelper for accessing API features in in a backwards compatible way.
MenuCompatHelper for accessing features in .
MenuItemCompatHelper for accessing features in android.view.MenuItem.
MotionEventCompatHelper for accessing features in MotionEvent.
NestedScrollingChildHelperHelper class for implementing nested scrolling child views compatible with Android platform versions earlier than Android 5.0 Lollipop (API 21).
NestedScrollingParentHelperHelper class for implementing nested scrolling parent views compatible with Android platform versions earlier than Android 5.0 Lollipop (API 21).
OneShotPreDrawListenerAn OnPreDrawListener that will remove itself after one OnPreDraw call.
PointerIconCompatHelper for accessing features in in a backwards compatible fashion.
ScaleGestureDetectorCompatHelper for accessing features in ScaleGestureDetector.
VelocityTrackerCompatHelper for accessing features in .
ViewCompatHelper for accessing features in View.
ViewConfigurationCompatHelper for accessing features in .
ViewGroupCompatHelper for accessing features in ViewGroup.
ViewParentCompatHelper for accessing features in .
ViewPropertyAnimatorCompat
ViewPropertyAnimatorListenerAdapterThis adapter class provides empty implementations of the methods from ViewPropertyAnimatorListener.
WindowCompatHelper for accessing features in Window.
WindowInsetsCompatDescribes a set of insets for window content.

Annotation Types

ViewCompat.FocusDirection
ViewCompat.FocusRealDirection
ViewCompat.FocusRelativeDirection
ViewCompat.NestedScrollType
ViewCompat.ScrollAxis
ViewCompat.ScrollIndicators