androidx.core.view

Interfaces

ActionProvider.VisibilityListener

Listens to changes in visibility as reported by refreshVisibility.

DifferentialMotionFlingTarget

Represents an entity that may be flung by a differential motion or an entity that initiates fling on a target View.

DragStartHelper.OnDragStartListener

Interface definition for a callback to be invoked when a drag start gesture is detected.

LayoutInflaterFactory

This interface is deprecated.

Use android.view.LayoutInflater.Factory2 directly.

MenuHost

A class that allows you to host and keep track of MenuProviders that will supply android.view.MenuItems to the app bar.

MenuItemCompat.OnActionExpandListener

This interface is deprecated.

Use MenuItem.OnActionExpandListener directly.

MenuProvider

Interface for indicating that a component will be supplying MenuItems to the component owning the app bar.

NestedScrollingChild

This interface should be implemented by View subclasses that wish to support dispatching nested scrolling operations to a cooperating parent ViewGroup.

NestedScrollingChild2

This interface should be implemented by View subclasses that wish to support dispatching nested scrolling operations to a cooperating parent ViewGroup.

NestedScrollingChild3

This interface should be implemented by View subclasses that wish to support dispatching nested scrolling operations to a cooperating parent ViewGroup.

NestedScrollingParent

This interface should be implemented by ViewGroup subclasses that wish to support scrolling operations delegated by a nested child view.

NestedScrollingParent2

This interface should be implemented by ViewGroup subclasses that wish to support scrolling operations delegated by a nested child view.

NestedScrollingParent3

This interface should be implemented by ViewGroup subclasses that wish to support scrolling operations delegated by a nested child view.

OnApplyWindowInsetsListener

Listener for applying window insets on a view in a custom way.

OnReceiveContentListener

Listener for apps to implement handling for insertion of content.

OnReceiveContentViewBehavior

Interface for widgets to implement default behavior for receiving content.

ScrollingView

An interface that can be implemented by Views to provide scroll related APIs.

TintableBackgroundView

Interface which allows a android.view.View to receive background tinting calls from ViewCompat when running on API v20 devices or lower.

ViewCompat.OnUnhandledKeyEventListenerCompat

Interface 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.

ViewPropertyAnimatorUpdateListener

Implementors 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.

WindowInsetsAnimationControlListenerCompat

Listener that encapsulates a request to controlWindowInsetsAnimation.

WindowInsetsControllerCompat.OnControllableInsetsChangedListener

Listener to be notified when the set of controllable WindowInsetsCompat.Type controlled by a WindowInsetsController changes.

Classes

AccessibilityDelegateCompat

Helper for accessing AccessibilityDelegate.

ActionProvider

This class is a mediator for accomplishing a given task, for example sharing a file.

ContentInfoCompat

Holds all the relevant data for a request to OnReceiveContentListener.

ContentInfoCompat.Builder

Builder for ContentInfoCompat.

DifferentialMotionFlingController

Controller differential motion flings.

DisplayCompat

A class for retrieving accurate display modes for a display.

DisplayCompat.ModeCompat

Compat class which provides access to the underlying display mode, if there is one, and a more reliable display mode size.

DisplayCutoutCompat

Represents the area of the display that is not functional for displaying content.

DragAndDropPermissionsCompat

Helper for accessing features in DragAndDropPermissions a backwards compatible fashion.

DragStartHelper

DragStartHelper is a utility class for implementing drag and drop support.

GestureDetectorCompat

Detects various gestures and events using the supplied MotionEvents.

GravityCompat

Compatibility shim for accessing newer functionality from Gravity.

HapticFeedbackConstantsCompat

Helper class for accessing values in android.view.HapticFeedbackConstants.

InputDeviceCompat

Helper class for accessing values in android.view.InputDevice.

LayoutInflaterCompat

Helper for accessing features in LayoutInflater.

MarginLayoutParamsCompat

Helper for accessing API features in MarginLayoutParams in a backwards compatible way.

MenuCompat

Helper for accessing features in Menu.

MenuHostHelper

Helper class for implementing MenuHost.

MenuItemCompat

Helper for accessing features in MenuItem.

MenuKt
MotionEventCompat

Helper for accessing features in MotionEvent.

NestedScrollingChildHelper

Helper class for implementing nested scrolling child views compatible with Android platform versions earlier than Android 5.0 Lollipop (API 21).

NestedScrollingParentHelper

Helper class for implementing nested scrolling parent views compatible with Android platform versions earlier than Android 5.0 Lollipop (API 21).

OneShotPreDrawListener

An OnPreDrawListener that will remove itself after one OnPreDraw call.

PointerIconCompat

Helper for accessing features in PointerIcon in a backwards compatible fashion.

ScaleGestureDetectorCompat

Helper for accessing features in ScaleGestureDetector.

SoftwareKeyboardControllerCompat

Provide controls for showing and hiding the IME.

VelocityTrackerCompat

Helper for accessing features in VelocityTracker.

ViewCompat

Helper for accessing features in View.

ViewConfigurationCompat

Helper for accessing features in ViewConfiguration.

ViewGroupCompat

Helper for accessing features in ViewGroup.

ViewGroupKt
ViewKt
ViewParentCompat

Helper for accessing features in ViewParent.

ViewPropertyAnimatorCompat
ViewPropertyAnimatorListenerAdapter

This adapter class provides empty implementations of the methods from ViewPropertyAnimatorListener.

ViewStructureCompat

Helper for accessing features in ViewStructure.

WindowCompat

Helper for accessing features in Window.

WindowInsetsAnimationCompat

Class representing an animation of a set of windows that cause insets.

WindowInsetsAnimationCompat.BoundsCompat

Class representing the range of an WindowInsetsAnimationCompat

WindowInsetsAnimationCompat.Callback

Interface that allows the application to listen to animation events for windows that cause insets.

WindowInsetsAnimationControllerCompat

Controller for app-driven animation of system windows.

WindowInsetsCompat

Describes a set of insets for window content.

WindowInsetsCompat.Builder

Builder for WindowInsetsCompat.

WindowInsetsCompat.Type

Class that defines different types of sources causing window insets.

WindowInsetsControllerCompat

Provide simple controls of windows that generate insets.