Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

Class Index

These are all the API classes. See all API packages.

A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X  

A

AbsSavedState

A Parcelable implementation that should be used by inheritance hierarchies to ensure the state of all classes along the chain is saved.

AbstractDetailsDescriptionPresenter

An abstract Presenter for rendering a detailed description of an item.

AbstractDetailsDescriptionPresenter.ViewHolder

The ViewHolder for the AbstractDetailsDescriptionPresenter.

AbstractMediaItemPresenter

Abstract Presenter class for rendering media items in a playlist format.

AbstractMediaItemPresenter.ViewHolder

The ViewHolder for the AbstractMediaItemPresenter.

AbstractMediaListHeaderPresenter

Abstract presenter class for rendering the header for a list of media items in a playlist.

AbstractMediaListHeaderPresenter.ViewHolder

The ViewHolder for the AbstractMediaListHeaderPresenter.

AbstractResolvableFuture

An AndroidX version of Guava's AbstractFuture.

AbstractSavedStateVMFactory

Skeleton of androidx.

AccessibilityClickableSpanCompat

ClickableSpan cannot be parceled, but accessibility services need to be able to cause their callback handlers to be called.

AccessibilityDelegateCompat

Helper for accessing AccessibilityDelegate.

AccessibilityEventCompat

Helper for accessing features in AccessibilityEvent.

AccessibilityManagerCompat

Helper for accessing features in AccessibilityManager.

AccessibilityManagerCompat.AccessibilityStateChangeListener

Listener for the accessibility state.

AccessibilityManagerCompat.AccessibilityStateChangeListenerCompat

Listener for the accessibility state.

AccessibilityManagerCompat.TouchExplorationStateChangeListener

Listener for the system touch exploration state.

AccessibilityNodeInfoCompat

Helper for accessing android.view.accessibility.AccessibilityNodeInfo in a backwards compatible fashion.

AccessibilityNodeInfoCompat.AccessibilityActionCompat

A class defining an action that can be performed on an AccessibilityNodeInfo.

AccessibilityNodeInfoCompat.CollectionInfoCompat

Class with information if a node is a collection.

AccessibilityNodeInfoCompat.CollectionItemInfoCompat

Class with information if a node is a collection item.

AccessibilityNodeInfoCompat.RangeInfoCompat

Class with information if a node is a range.

AccessibilityNodeProviderCompat

Helper for accessing android.view.accessibility.AccessibilityNodeProvider.

AccessibilityRecordCompat

Helper for accessing AccessibilityRecord.

AccessibilityServiceInfoCompat

Helper for accessing features in AccessibilityServiceInfo.

AccessibilityViewCommand

Functional interface used to create a custom accessibility action.

AccessibilityViewCommand.CommandArguments

Object containing arguments passed into an AccessibilityViewCommand

AccessibilityViewCommand.MoveAtGranularityArguments

Arguments for #ACTION_NEXT_AT_MOVEMENT_GRANULARITY and #ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY

AccessibilityViewCommand.MoveHtmlArguments

Arguments for AccessibilityNodeInfoCompat#ACTION_NEXT_HTML_ELEMENT and #ACTION_PREVIOUS_HTML_ELEMENT

AccessibilityViewCommand.MoveWindowArguments

Arguments for #ACTION_MOVE_WINDOW

AccessibilityViewCommand.ScrollToPositionArguments

Arguments for #ACTION_SCROLL_TO_POSITION

AccessibilityViewCommand.SetProgressArguments

Arguments for #ACTION_SET_PROGRESS

AccessibilityViewCommand.SetSelectionArguments

Arguments for #ACTION_SET_SELECTION

AccessibilityViewCommand.SetTextArguments

Arguments for AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_TEXT

AccessibilityWindowInfoCompat

Helper for accessing android.view.accessibility.AccessibilityWindowInfo.

Action

An action contains one or two lines of text, an optional image and an optional id.

ActionBar

A primary toolbar within the activity that may display the activity title, application-level navigation affordances, and other interactive items.

ActionBar.LayoutParams

Per-child layout information associated with action bar custom views.

ActionBar.OnMenuVisibilityListener

Listener for receiving events when action bar menus are shown or hidden.

ActionBar.OnNavigationListener

Listener interface for ActionBar navigation events.

ActionBar.Tab

A tab in the action bar.

ActionBar.TabListener

Callback interface invoked when a tab is focused, unfocused, added, or removed.

ActionBarDrawerToggle

This class provides a handy way to tie together the functionality of DrawerLayout and the framework ActionBar to implement the recommended design for navigation drawers.

ActionBarDrawerToggle

ActionBarDrawerToggle.Delegate

ActionBarDrawerToggle.Delegate

ActionBarDrawerToggle.DelegateProvider

Allows an implementing Activity to return an ActionBarDrawerToggle.Delegate to use with ActionBarDrawerToggle.

ActionBarDrawerToggle.DelegateProvider

Allows an implementing Activity to return an ActionBarDrawerToggle.Delegate to use with ActionBarDrawerToggle.

ActionListItem

Class to build a list item that has up to two actions.

ActionListItem.ViewHolder

Holds the children views of ActionListItem.

ActionMenuView

ActionMenuView is a presentation of a series of menu options as a View.

ActionMenuView.LayoutParams

ActionMenuView.OnMenuItemClickListener

Interface responsible for receiving menu item click events if the items themselves do not have individual item click listeners.

ActionMode

Represents a contextual mode of the user interface.

ActionMode.Callback

Callback interface for action modes.

ActionOnlyNavDirections

An implementation of NavDirections without any arguments.

ActionProvider

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

ActionProvider.VisibilityListener

Listens to changes in visibility as reported by ActionProvider#refreshVisibility().

ActivityCompat

Helper for accessing features in android.app.Activity.

ActivityCompat

Helper for accessing features in android.app.Activity in a backwards compatible fashion.

ActivityCompat.OnRequestPermissionsResultCallback

This interface is the contract for receiving the results for permission requests.

ActivityCompat.PermissionCompatDelegate

Customizable delegate that allows delegating permission compatibility methods to a custom implementation.

ActivityInfoCompat

Helper for accessing features in android.content.pm.ActivityInfo.

ActivityManagerCompat

Helper for accessing features in android.app.ActivityManager in a backwards compatible fashion.

ActivityNavigator

ActivityNavigator implements cross-activity navigation.

ActivityNavigator.Destination

NavDestination for activity navigation

ActivityNavigator.Extras

Extras that can be passed to ActivityNavigator to customize what ActivityOptionsCompat and flags are passed through to the call to ActivityCompat#startActivity(Context, Intent, Bundle).

ActivityNavigator.Extras.Builder

Builder for constructing new Extras instances.

ActivityNavigatorDestinationBuilder

DSL for constructing a new ActivityNavigator.Destination

ActivityOptionsCompat

Helper for accessing features in android.app.ActivityOptions in a backwards compatible fashion.

AdapterListUpdateCallback

ListUpdateCallback that dispatches update events to the given adapter.

AlarmManagerCompat

Compatibility library for AlarmManager with fallbacks for older platforms.

AlertDialog

A subclass of Dialog that can display one, two or three buttons.

AlertDialog.Builder

AlphaJumpAdapter

An interface that you can implement on your Adapter to enable support for Alpha-Jump.

AlphaJumpBucket

A bucket represents a "button" in the alpha-jump menu.

AlphaJumpBucketer

A helper class for building the list of buckets for alpha jump.

AlphaJumpBucketer.Bucket

A basic implementation of AlphaJumpBucket.

AlphaJumpOverlayView

This view shows a grid of alphabetic letters that you can tap on to advance a list to the beginning of that list.

AmbientMode

Use this as a headless Fragment to add ambient support to an Activity on Wearable devices.

AmbientMode.AmbientCallback

Callback to receive ambient mode state changes.

AmbientMode.AmbientCallbackProvider

Interface for any Activity that wishes to implement Ambient Mode.

AmbientMode.AmbientController

A class for interacting with the ambient mode on a wearable device.

AmbientModeSupport

Use this as a headless Fragment to add ambient support to an Activity on Wearable devices.

AmbientModeSupport.AmbientCallback

Callback to receive ambient mode state changes.

AmbientModeSupport.AmbientCallbackProvider

Interface for any Activity that wishes to implement Ambient Mode.

AmbientModeSupport.AmbientController

A class for interacting with the ambient mode on a wearable device.

AndroidViewModel

Application context aware ViewModel.

Animatable2Compat

Interface that drawables supporting animations and callbacks should extend in support lib.

Animatable2Compat.AnimationCallback

Abstract class for animation callback.

AnimatedStateListDrawableCompat

A Drawable providing animated transitions between states.

AnimatedVectorDrawableCompat

For API 24 and above, this class is delegating to the framework's .

AnimatorRes

Denotes that an integer parameter, field or method return value is expected to be an animator resource reference (e.g.

AnimBuilder

DSL for setting custom Animation or Animator resources on a NavOptionsBuilder

AnimRes

Denotes that an integer parameter, field or method return value is expected to be an anim resource reference (e.g.

AnyRes

Denotes that an integer parameter, field or method return value is expected to be a resource reference of any type.

AnyThread

Denotes that the annotated method can be called from any thread (e.g. it is "thread safe".) If the annotated element is a class, then all methods in the class can be called from any thread.

AppBarConfiguration

Configuration options for NavigationUI methods that interact with implementations of the app bar pattern such as androidx.appcompat.widget.Toolbar, com.google.android.material.appbar.CollapsingToolbarLayout, and androidx.appcompat.app.ActionBar.

AppBarConfiguration.Builder

The Builder class for constructing new AppBarConfiguration instances.

AppBarConfiguration.OnNavigateUpListener

Interface for providing custom 'up' behavior beyond what is provided by androidx.navigation.NavController#navigateUp().

AppCompatActivity

Base class for activities that use the support library action bar features.

AppCompatAutoCompleteTextView

A AutoCompleteTextView which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.view.ViewCompat.
  • Allows setting of the background tint using R.attr#backgroundTint and R.attr#backgroundTintMode.

AppCompatButton

A Button which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.view.ViewCompat.
  • Allows setting of the background tint using R.attr#backgroundTint and R.attr#backgroundTintMode.

AppCompatCallback

Implemented this in order for AppCompat to be able to callback in certain situations.

AppCompatCheckBox

A CheckBox which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.widget.CompoundButtonCompat.
  • Allows setting of the background tint using R.attr#buttonTint and R.attr#buttonTintMode.

AppCompatCheckedTextView

A CheckedTextView which supports compatible features on older versions of the platform.

AppCompatDelegate

This class represents a delegate which you can use to extend AppCompat's support to any android.app.Activity.

AppCompatDialog

Base class for AppCompat themed android.app.Dialogs.

AppCompatDialogFragment

A special version of DialogFragment which uses an AppCompatDialog in place of a platform-styled dialog.

AppCompatEditText

A EditText which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.view.ViewCompat.
  • Allows setting of the background tint using R.attr#backgroundTint and R.attr#backgroundTintMode.

AppCompatImageButton

A ImageButton which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.view.ViewCompat.
  • Allows setting of the background tint using R.attr#backgroundTint and R.attr#backgroundTintMode.
  • Allows dynamic tint of its image via the image tint methods in ImageViewCompat.
  • Allows setting of the image tint using R.attr#tint and R.attr#tintMode.

AppCompatImageView

A ImageView which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.view.ViewCompat.
  • Allows setting of the background tint using R.attr#backgroundTint and R.attr#backgroundTintMode.
  • Allows dynamic tint of its image via the image tint methods in ImageViewCompat.
  • Allows setting of the image tint using R.attr#tint and R.attr#tintMode.

AppCompatMultiAutoCompleteTextView

A MultiAutoCompleteTextView which supports compatible features on older version of the platform, including:

  • Supports R.attr#textAllCaps style attribute which works back to Gingerbread.
  • Allows dynamic tint of its background via the background tint methods in androidx.core.view.ViewCompat.
  • Allows setting of the background tint using R.attr#backgroundTint and R.attr#backgroundTintMode.

AppCompatRadioButton

A RadioButton which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.widget.CompoundButtonCompat.
  • Allows setting of the background tint using R.attr#buttonTint and R.attr#buttonTintMode.

AppCompatRatingBar

A RatingBar which supports compatible features on older versions of the platform.

AppCompatResources

Class for accessing an application's resources through AppCompat, and thus any backward compatible functionality.

AppCompatSeekBar

A SeekBar which supports compatible features on older versions of the platform.

AppCompatSpinner

A Spinner which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.view.ViewCompat.
  • Allows setting of the background tint using R.attr#buttonTint and R.attr#buttonTintMode.
  • Setting the popup theme using R.attr#popupTheme.

AppCompatTextView

A TextView which supports compatible features on older versions of the platform, including:

  • Allows dynamic tint of its background via the background tint methods in androidx.core.view.ViewCompat.
  • Allows setting of the background tint using androidx.appcompat.R.attr#backgroundTint and androidx.appcompat.R.attr#backgroundTintMode.
  • Supports auto-sizing via androidx.core.widget.TextViewCompat by allowing to instruct a TextView to let the size of the text expand or contract automatically to fill its layout based on the TextView's characteristics and boundaries. The style attributes associated with auto-sizing are androidx.appcompat.R.attr#autoSizeTextType, androidx.appcompat.R.attr#autoSizeMinTextSize, androidx.appcompat.R.attr#autoSizeMaxTextSize, androidx.appcompat.R.attr#autoSizeStepGranularity and androidx.appcompat.R.attr#autoSizePresetSizes, all of which work back to Ice Cream Sandwich.

AppCompatToggleButton

A ToggleButton which supports compatible features on older versions of the platform, including:

AppCompatViewInflater

This class is responsible for manually inflating our tinted widgets.

AppComponentFactory

Version of android.app.AppComponentFactory that works with androidx libraries.

AppLaunchChecker

This class provides APIs for determining how an app has been launched.

AppOpsManagerCompat

Helper for accessing features in android.app.AppOpsManager.

AppWidgetProviderWithCallbacks

Version of AppWidgetProvider that implements a CallbackReceiver.

ArcMotion

A PathMotion that generates a curved path along an arc on an imaginary circle containing the two points.

ArrayCreatingInputMerger

An InputMerger that attempts to merge the inputs, creating arrays when necessary.

ArrayMap

ArrayMap is a generic key->value mapping data structure that is designed to be more memory efficient than a traditional java.util.HashMap, this implementation is a version of the platform's android.util.ArrayMap that can be used on older versions of the platform.

ArrayObjectAdapter

An ObjectAdapter implemented with an ArrayList.

ArrayRes

Denotes that an integer parameter, field or method return value is expected to be an array resource reference (e.g.

ArraySet

ArraySet is a generic set data structure that is designed to be more memory efficient than a traditional java.util.HashSet.

AsyncDifferConfig

Configuration object for ListAdapter, AsyncListDiffer, and similar background-thread list diffing adapter logic.

AsyncDifferConfig.Builder

Builder class for AsyncDifferConfig.

AsyncLayoutInflater

Helper class for inflating layouts asynchronously.

AsyncLayoutInflater.OnInflateFinishedListener

AsyncListDiffer

Helper for computing the difference between two lists via DiffUtil on a background thread.

AsyncListDiffer.ListListener

Listener for when the current List is updated.

AsyncListUtil

A utility class that supports asynchronous content loading.

AsyncListUtil.DataCallback

The callback that provides data access for AsyncListUtil.

AsyncListUtil.ViewCallback

The callback that links AsyncListUtil with the list view.

AsyncPagedListDiffer

Helper object for mapping a PagedList into a RecyclerView.Adapter.

AsyncPagedListDiffer.PagedListListener

Listener for when the current PagedList is updated.

AsyncTaskLoader

Static library support version of the framework's android.content.AsyncTaskLoader.

AtomicFile

Static library support version of the framework's android.util.AtomicFile, a helper class for performing atomic operations on a file by creating a backup file until a write has successfully completed.

AttrRes

Denotes that an integer parameter, field or method return value is expected to be an attribute reference (e.g.

AudioAttributesCompat

A class to encapsulate a collection of attributes describing information about an audio stream.

AudioAttributesCompat.Builder

Builder class for AudioAttributesCompat objects.

AudioFocusRequestCompat

Compatibility version of an AudioFocusRequest.

AudioFocusRequestCompat.Builder

Builder class for AudioFocusRequestCompat objects.

AudioManagerCompat

Compatibility library for AudioManager with fallbacks for older platforms.

AutoScrollHelper

AutoScrollHelper is a utility class for adding automatic edge-triggered scrolling to Views.

AutoTransition

Utility class for creating a default transition that automatically fades, moves, and resizes views during a scene change.

B

BackgroundManager

Supports background image continuity between multiple Activities.

BackoffPolicy

An enumeration of backoff policies when retrying work.

BandPredicate

Provides a means of controlling when and where band selection can be initiated.

BandPredicate.EmptyArea

A BandPredicate that allows initiation of band selection only in areas of RecyclerView that map to RecyclerView#NO_POSITION.

BandPredicate.NonDraggableArea

A BandPredicate that allows initiation of band selection in any area that is not draggable as determined by consulting ItemDetailsLookup.ItemDetails#inDragRegion(MotionEvent).

BaseCardView

A card style layout that responds to certain state changes.

BaseCardView.LayoutParams

Per-child layout information associated with BaseCardView.

BaseFragment

Base class for leanback Fragments.

BaseGridView

An abstract base class for vertically and horizontally scrolling lists.

BaseGridView.OnKeyInterceptListener

Listener for intercepting key dispatch events.

BaseGridView.OnMotionInterceptListener

Listener for intercepting generic motion dispatch events.

BaseGridView.OnTouchInterceptListener

Listener for intercepting touch dispatch events.

BaseGridView.OnUnhandledKeyListener

BaseLeanbackPreferenceFragment

This fragment provides a preference fragment with leanback-style behavior, suitable for embedding into broader UI elements.

BaseLeanbackPreferenceFragmentCompat

This fragment provides a preference fragment with leanback-style behavior, suitable for embedding into broader UI elements.

BaseOnItemViewClickedListener

Interface for receiving notification when an item view holder is clicked.

BaseOnItemViewSelectedListener

Interface for receiving notification when a row or item becomes selected.

BaseSupportFragment

Base class for leanback Fragments.

BatchingListUpdateCallback

Wraps a ListUpdateCallback callback and batches operations that can be merged.

BidiFormatter

Utility class for formatting text for display in a potentially opposite-directionality context without garbling.

BidiFormatter.Builder

A class for building a BidiFormatter with non-default options.

BinderThread

Denotes that the annotated method should only be called on the binder thread.

BiometricPrompt

A class that manages a system-provided biometric prompt.

BiometricPrompt.AuthenticationCallback

Callback structure provided to BiometricPrompt.

BiometricPrompt.AuthenticationResult

Container for callback data from authenticate(PromptInfo) and authenticate(PromptInfo, CryptoObject).

BiometricPrompt.CryptoObject

A wrapper class for the crypto objects supported by BiometricPrompt.

BiometricPrompt.PromptInfo

A class that contains a builder which returns the PromptInfo to be used in authenticate(PromptInfo, CryptoObject) and authenticate(PromptInfo).

BiometricPrompt.PromptInfo.Builder

A builder that collects arguments to be shown on the system-provided biometric dialog.

BitmapCompat

Helper for accessing features in android.graphics.Bitmap.

BoolRes

Denotes that an integer parameter, field or method return value is expected to be a boolean resource reference.

BoundaryInterfaceReflectionUtil

A set of utility methods used for calling across the support library boundary.

BoundsRule

This class contains the rules for updating the bounds of a CompositeDrawable.ChildDrawable.

BoundsRule.ValueRule

This class represents individual rules for updating the bounds.

BoxInsetLayout

BoxInsetLayout is a screen shape-aware ViewGroup that can box its children in the center square of a round screen by using the boxedEdges attribute.

BoxInsetLayout.LayoutParams

Per-child layout information for layouts that support margins, gravity and boxedEdges.

BrandedFragment

Fragment class for managing search and branding using a view that implements TitleViewAdapter.Provider.

BrandedSupportFragment

Fragment class for managing search and branding using a view that implements TitleViewAdapter.Provider.

BroadcastReceiverWithCallbacks

Extend this broadcast receiver to be able to receive callbacks as well as normal broadcasts.

BrowseFragment

A fragment for creating Leanback browse screens.

BrowseFragment.BrowseTransitionListener

Listener for transitions between browse headers and rows.

BrowseFragment.FragmentFactory

Factory class responsible for creating fragment given the current item.

BrowseFragment.FragmentHost

Possible set of actions that BrowseFragment exposes to clients.

BrowseFragment.ListRowFragmentFactory

FragmentFactory implementation for ListRow.

BrowseFragment.MainFragmentAdapter

Interface that defines the interaction between BrowseFragment and its main content fragment.

BrowseFragment.MainFragmentAdapterProvider

Interface to be implemented by all fragments for providing an instance of MainFragmentAdapter.

BrowseFragment.MainFragmentAdapterRegistry

Registry class maintaining the mapping of Row subclasses to FragmentFactory.

BrowseFragment.MainFragmentRowsAdapter

This is used to pass information to RowsFragment or its subclasses.

BrowseFragment.MainFragmentRowsAdapterProvider

Interface to be implemented by RowsFragment and its subclasses for providing an instance of MainFragmentRowsAdapter.

BrowseFrameLayout

A ViewGroup for managing focus behavior between overlapping views.

BrowseFrameLayout.OnChildFocusListener

Interface for managing child focus in a BrowseFrameLayout.

BrowseFrameLayout.OnFocusSearchListener

Interface for selecting a focused view in a BrowseFrameLayout when the system focus finder couldn't find a view to focus.

BrowserActionItem

A wrapper class holding custom item of Browser Actions menu.

BrowserActionsIntent

Class holding the Intent and start bundle for a Browser Actions Activity.

BrowserActionsIntent.Builder

Builder class for opening a Browser Actions context menu.

BrowseSupportFragment

A fragment for creating Leanback browse screens.

BrowseSupportFragment.BrowseTransitionListener

Listener for transitions between browse headers and rows.

BrowseSupportFragment.FragmentFactory

Factory class responsible for creating fragment given the current item.

BrowseSupportFragment.FragmentHost

Possible set of actions that BrowseSupportFragment exposes to clients.

BrowseSupportFragment.ListRowFragmentFactory

FragmentFactory implementation for ListRow.

BrowseSupportFragment.MainFragmentAdapter

Interface that defines the interaction between BrowseSupportFragment and its main content fragment.

BrowseSupportFragment.MainFragmentAdapterProvider

Interface to be implemented by all fragments for providing an instance of MainFragmentAdapter.

BrowseSupportFragment.MainFragmentAdapterRegistry

Registry class maintaining the mapping of Row subclasses to FragmentFactory.

BrowseSupportFragment.MainFragmentRowsAdapter

This is used to pass information to RowsSupportFragment or its subclasses.

BrowseSupportFragment.MainFragmentRowsAdapterProvider

Interface to be implemented by RowsSupportFragment and its subclasses for providing an instance of MainFragmentRowsAdapter.

BuildCompat

This class contains additional platform version checking methods for targeting pre-release versions of Android.

BundleCompat

Helper for accessing features in Bundle.

BundledEmojiCompatConfig

EmojiCompat.Config implementation that loads the metadata using AssetManager and bundled resources.

C

CallableMethod

CallbackHandlerRegistry

The holder for callbacks that are tagged with RemoteCallable.

CallbackHandlerRegistry.CallbackHandler

The interface used to trigger a callback when the pending intent is fired.

CallbackMediaItem

Structure for media item descriptor for DataSourceCallback.

CallbackMediaItem.Builder

This Builder class simplifies the creation of a CallbackMediaItem object.

CallbackReceiver

An objects that can receive remote callbacks.

CallbackReceiver

Holder class that is created for each class instance that is a CallbackReceiver and has methods tagged with @RemoteCallable.

CallbackToFutureAdapter

A utility that provides safety checks as an alternative to , failing the future if it will never complete.

CallbackToFutureAdapter.Completer

Used to complete the future returned by getFuture

CallbackToFutureAdapter.Resolver

Called by getFuture.

CallSuper

Denotes that any overriding methods should invoke this method as well.

Cancellable

Token representing a cancellable operation.

CancellationSignal

Static library support version of the framework's android.os.CancellationSignal.

CancellationSignal.OnCancelListener

Listens for cancellation.

CarAlertDialog

A subclass of Dialog that is tailored for the car environment.

CarAlertDialog.Builder

Builder class that can be used to create a CarAlertDialog by configuring the options for what shows up in the resulting dialog.

CarDrawerAdapter

Base adapter for displaying items in the car navigation drawer, which uses a PagedListView.

CarDrawerController

A controller that will handle the set up of the navigation drawer.

CardView

A FrameLayout with a rounded corner background and shadow.

CarListDialog

A subclass of Dialog that is tailored for the car environment.

CarListDialog.Builder

Builder class that can be used to create a CarListDialog by configuring the options for the list and behavior of the dialog.

CarListDialog.DialogSubSection

A struct that holds data for a section.

CarMenuItem

Class to build a CarMenuItem that appears in the CarToolbar menu.

CarMenuItem.Builder

Builder for creating a CarMenuItem

CarMenuItem.DisplayBehavior

Display behaviors for CarMenuItems.

CarMenuItem.OnClickListener

Interface definition for a callback to be invoked when a CarMenuItem is clicked.

CarToolbar

A toolbar for building car applications.

CarUxRestrictions

Car UX Restrictions event.

CarUxRestrictions.Builder

Builder class for CarUxRestrictions

CarUxRestrictionsHelper

Helps registering OnUxRestrictionsChangedListener and managing car connection.

CellBuilderDsl

Helper class annotated with @SliceMarker, which is annotated with @DslMarker.

ChangeBounds

This transition captures the layout bounds of target views before and after the scene change and animates those changes during the transition.

ChangeClipBounds

ChangeClipBounds captures the android.view.View#getClipBounds() before and after the scene change and animates those changes during the transition.

ChangeImageTransform

This Transition captures an ImageView's matrix before and after the scene change and animates it during the transition.

ChangeScroll

This transition captures the scroll properties of targets before and after the scene change and animates any changes.

ChangeTransform

This Transition captures scale and rotation for Views before and after the scene change and animates those changes during the transition.

Channel

A convenience class to access TvContractCompat.Channels entries in the system content provider.

Channel.Builder

The builder class that makes it easy to chain setters to create a Channel object.

ChannelLogoUtils

A utility class for conveniently storing and loading channel logos.

CheckBoxPreference

A Preference that provides checkbox widget functionality.

CheckResult

Denotes that the annotated method returns a result that it typically is an error to ignore.

CircularArray

CircularArray is a generic circular array data structure that provides O(1) random read, O(1) prepend and O(1) append.

CircularIntArray

CircularIntArray is a circular integer array data structure that provides O(1) random read, O(1) prepend and O(1) append.

CircularProgressDrawable

Drawable that renders the animated indeterminate progress indicator in the Material design style without depending on API level 11.

CircularProgressLayout

CircularProgressLayout adds a circular countdown timer behind the view it contains, typically used to automatically confirm an operation after a short delay has elapsed.

CircularProgressLayout.OnTimerFinishedListener

Interface to implement for listening to event.

CircularPropagation

A propagation that varies with the distance to the epicenter of the Transition or center of the scene if no epicenter exists.

ClassPresenterSelector

A ClassPresenterSelector selects a Presenter based on the item's Java class.

CollapsibleActionView

When a android.view.View implements this interface it will receive callbacks when expanded or collapsed as an action view alongside the optional, app-specified callbacks to .

ColorFilterCache

Cache of ColorFilters for a given color at different alpha levels.

ColorFilterDimmer

Helper class for applying a dim level to a View.

ColorInt

Denotes that the annotated element represents a packed color int, AARRGGBB.

ColorLong

Denotes that the annotated element represents a packed color long.

ColorOverlayDimmer

Helper class for assigning a dim color to Paint.

ColorRes

Denotes that an integer parameter, field or method return value is expected to be a color resource reference (e.g.

ColorUtils

A set of color-related utility methods, building upon those available in Color.

ColumnCalculator

Utility class that calculates the width of the columns that will fit on the screen.

ColumnCardView

A CardView whose width can be specified by the number of columns that it will span.

ColumnInfo

Allows specific customization about the column associated with this field.

ColumnInfo.Collate

ColumnInfo.SQLiteTypeAffinity

The SQLite column type constants that can be used in typeAffinity()

ComponentActivity

Base class for activities that enables composition of higher level components.

CompositeDrawable

Generic drawable class that can be composed of multiple children.

CompositeDrawable.ChildDrawable

Wrapper class holding a drawable object and BoundsRule to update drawable bounds when parent bound changes.

CompoundButtonCompat

Helper for accessing android.widget.CompoundButton.

Configuration

The Configuration object used to customize WorkManager upon initialization.

Configuration.Builder

A Builder for Configurations.

ConfigurationCompat

Helper class which allows access to properties of Configuration in a backward compatible fashion.

ConfigurationHelper

Helper class which allows access to properties of Configuration in a backward compatible fashion.

ConfirmationActivity

This Activity is used to display confirmation animations after the user completes an action on the wearable.

ConfirmationOverlay

Displays a full-screen confirmation animation with optional text and then hides it.

ConfirmationOverlay.OnAnimationFinishedListener

Interface for listeners to be notified when the ConfirmationOverlay animation has finished and its View has been removed.

ConfirmationOverlay.OverlayType

Types of animations to display in the overlay.

ConnectivityManagerCompat

Helper for accessing features in ConnectivityManager.

Constraints

A specification of the requirements that need to be met before a WorkRequest can run.

Constraints.Builder

A Builder for a Constraints object.

Consumer

Compat version of java.util.function.Consumer

ContentLoadingProgressBar

ContentLoadingProgressBar implements a ProgressBar that waits a minimum time to be dismissed before showing.

ContentPager

ContentPager provides support for loading "paged" data on a background thread using the ContentResolver framework.

ContentPager.ContentCallback

Callback by which a client receives results of a query.

ContentPager.CursorDisposition

ContentPager.QueryRunner

Implementations of this interface provide the mechanism for execution of queries off the UI thread.

ContentPager.QueryRunner.Callback

Callback that receives a cursor once a query as been executed on the Runner.

ContentProviderWithCallbacks

Version of ContentProvider that can be used as a CallbackReceiver.

ContentRecommendation

The ContentRecommendation object encapsulates all application provided data for a single content recommendation item.

ContentRecommendation.Builder

Builder class for ContentRecommendation objects.

ContentRecommendation.ContentMaturity

ContentRecommendation.ContentPricing

ContentRecommendation.ContentStatus

ContentRecommendation.ContentType

ContentRecommendation.IntentData

Object used to encapsulate the data to be used to build the PendingIntent object associated with a given content recommendation, at the time this recommendation gets posted to the home Screen.

ContentRecommendation.IntentType

ContentResolverCompat

Helper for accessing features in android.content.ContentResolver in a backwards compatible fashion.

ContentView

Annotation that can be attached to a constructor with a single LayoutRes parameter to denote what layout the component intends to inflate and set as its content.

ContextCompat

Helper for accessing features in android.content.Context.

ContextThemeWrapper

A context wrapper that allows you to modify or replace the theme of the wrapped context.

ControlButtonPresenterSelector

Displays primary and secondary controls for a PlaybackControlsRow.

CoordinatorLayout

CoordinatorLayout is a super-powered FrameLayout.

CoordinatorLayout.AttachedBehavior

Defines the default attached Behavior of a View class

CoordinatorLayout.Behavior

Interaction behavior plugin for child views of CoordinatorLayout.

CoordinatorLayout.DefaultBehavior

Defines the default Behavior of a View class.

CoordinatorLayout.LayoutParams

Parameters describing the desired layout for a child of a CoordinatorLayout.

CoordinatorLayout.SavedState

CoroutinesRoom

A helper class for supporting Kotlin Coroutines in Room.

CoroutineWorker

A ListenableWorker implementation that provides interop with Kotlin Coroutines.

CountingTaskExecutorRule

A JUnit Test Rule that swaps the background executor used by the Architecture Components with a different one which counts the tasks as they are start and finish.

CursorAdapter

Static library support version of the framework's android.widget.CursorAdapter.

CursorLoader

Static library support version of the framework's android.content.CursorLoader.

CursorMapper

Abstract class used to convert the current Cursor row to a single object.

CursorObjectAdapter

An ObjectAdapter implemented with a Cursor.

CursorWindowCompat

Helper for accessing features in android.database.CursorWindow

CurvingLayoutCallback

An implementation of the WearableLinearLayoutManager.LayoutCallback aligning the children of the associated WearableRecyclerView along a pre-defined vertical curve.

CustomTabsCallback

A callback class for custom tabs client to get messages regarding events in their custom tabs.

CustomTabsClient

Class to communicate with a CustomTabsService and create CustomTabsSession from it.

CustomTabsIntent

Class holding the Intent and start bundle for a Custom Tabs Activity.

CustomTabsIntent.Builder

Builder class for CustomTabsIntent objects.

CustomTabsService

Abstract service class for implementing Custom Tabs related functionality.

CustomTabsService.Relation

CustomTabsService.Result

CustomTabsServiceConnection

Abstract ServiceConnection to use while binding to a CustomTabsService.

CustomTabsSession

A class to be used for Custom Tabs related communication.

CustomTabsSessionToken

Wrapper class that can be used as a unique identifier for a session.

D

Dao

Marks the class as a Data Access Object.

Data

A persistable set of key/value pairs which are used as inputs and outputs for ListenableWorkers.

Data.Builder

A builder for Data objects.

Database

Marks a class as a RoomDatabase.

DatabaseConfiguration

Configuration class for a RoomDatabase.

DatabaseUtilsCompat

Helper for accessing features in android.database.DatabaseUtils.

DatabaseView

Marks a class as an SQLite view.

DataSource

Base class for loading pages of snapshot data into a PagedList

DataSource.Factory

Factory for DataSources.

DataSource.InvalidatedCallback

Invalidation callback for DataSource.

DataSourceCallback

For supplying media data, implement this if your app has special requirements for the way media data is obtained.

DatePicker

DatePicker is a directly subclass of Picker.

DefaultItemAnimator

This implementation of RecyclerView.ItemAnimator provides basic animations on remove, add, and move events that happen to the items in a RecyclerView.

DefaultLifecycleObserver

Callback interface for listening to LifecycleOwner state changes.

Delete

Marks a method in a Dao annotated class as a delete method.

Destination

Final or intermediate stop in a navigation route.

Destination.Builder

Builder for creating a Destination

Destination.Traffic

Congestion level on the way to a destination, compared to ideal driving conditions.

DetailsFragment

A fragment for creating Leanback details screens.

DetailsFragmentBackgroundController

Controller for DetailsFragment parallax background and embedded video play.

DetailsOverviewLogoPresenter

Presenter that responsible to create a ImageView and bind to DetailsOverviewRow.

DetailsOverviewLogoPresenter.ViewHolder

ViewHolder for Logo view of DetailsOverviewRow.

DetailsOverviewRow

An overview Row for a details fragment.

DetailsOverviewRow.Listener

Listener for changes of DetailsOverviewRow.

DetailsOverviewRowPresenter

Renders a DetailsOverviewRow to display an overview of an item.

DetailsOverviewRowPresenter.ViewHolder

A ViewHolder for the DetailsOverviewRow.

DetailsParallax

Subclass of Parallax object that tracks overview row's top and bottom edge in DetailsFragment or DetailsSupportFragment.

DetailsSupportFragment

A fragment for creating Leanback details screens.

DetailsSupportFragmentBackgroundController

Controller for DetailsSupportFragment parallax background and embedded video play.

DialogCompat

Helper for accessing features in android.app.Dialog in a backwards compatible fashion.

DialogFragment

Static library support version of the framework's android.app.DialogFragment.

DialogPreference

A base class for Preferences that are dialog-based.

DialogPreference.TargetFragment

Interface for PreferenceFragmentCompats to implement to allow DialogPreferences to find the preference that launched the dialog.

DiffCallback

Callback that informs ArrayObjectAdapter how to compute list updates when using DiffUtil in ArrayObjectAdapter#setItems(List, * DiffCallback) method.

DiffUtil

DiffUtil is a utility class that calculates the difference between two lists and outputs a list of update operations that converts the first list into the second one.

DiffUtil.Callback

A Callback class used by DiffUtil while calculating the diff between two lists.

DiffUtil.DiffResult

This class holds the information about the result of a DiffUtil#calculateDiff(Callback, boolean) call.

DiffUtil.ItemCallback

Callback for calculating the diff between two non-null items in a list.

DimenRes

Denotes that an integer parameter, field or method return value is expected to be a dimension resource reference (e.g.

Dimension

Denotes that an integer parameter, field or method return value is expected to represent a dimension.

DirectExecutor

A simple Executor.

DisplayCutoutCompat

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

DisplayManagerCompat

Helper for accessing features in android.hardware.display.DisplayManager.

Distance

Distance along the planned route between relevant points in the navigation

Distance.Unit

Possible units used to display this distance.

DividerItemDecoration

DividerItemDecoration is a RecyclerView.ItemDecoration that can be used as a divider between items of a LinearLayoutManager.

DividerPresenter

DividerPresenter provides a default presentation for DividerRow in HeadersFragment.

DividerRow

Used to represent divider in HeadersFragment.

DocumentFile

Representation of a document backed by either a android.provider.DocumentsProvider or a raw file on disk.

DragAndDropPermissionsCompat

Helper for accessing features in android.view.DragAndDropPermissions a backwards compatible fashion.

DragStartHelper

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

DragStartHelper.OnDragStartListener

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

DrawableCompat

Helper for accessing features in android.graphics.drawable.Drawable.

DrawableRes

Denotes that an integer parameter, field or method return value is expected to be a drawable resource reference (e.g.

DrawerArrowDrawable

A drawable that can draw a "Drawer hamburger" menu or an arrow and animate between them.

DrawerItemViewHolder

Re-usable RecyclerView.ViewHolder for displaying items in the androidx.car.drawer.CarDrawerAdapter.

DrawerLayout

DrawerLayout acts as a top-level container for window content that allows for interactive "drawer" views to be pulled out from one or both vertical edges of the window.

DrawerLayout.DrawerListener

Listener for monitoring events about drawers.

DrawerLayout.LayoutParams

DrawerLayout.SavedState

State persisted across instances

DrawerLayout.SimpleDrawerListener

Stub/no-op implementations of all methods of DrawerListener.

DropDownPreference

A ListPreference that presents the options in a drop down menu rather than a dialog.

DynamicAnimation

This class is the base class of physics-based animations.

DynamicAnimation.OnAnimationEndListener

An animation listener that receives end notifications from an animation.

DynamicAnimation.OnAnimationUpdateListener

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

DynamicAnimation.ViewProperty

ViewProperty holds the access of a property of a View.

E

EdgeEffectCompat

Helper for accessing android.widget.EdgeEffect.

EditorInfoCompat

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

EditTextPreference

A DialogPreference that shows a EditText in the dialog.

EditTextPreference.OnBindEditTextListener

Interface definition for a callback to be invoked when the corresponding dialog view for this preference is bound.

EditTextPreference.SimpleSummaryProvider

A simple androidx.preference.Preference.SummaryProvider implementation for an EditTextPreference.

EditTextPreferenceDialogFragment

EditTextPreferenceDialogFragmentCompat

Embedded

Can be used as an annotation on a field of an Entity or Pojo to signal that nested fields (i.e. fields of the annotated field's class) can be referenced directly in the SQL queries.

EmojiAppCompatButton

AppCompatButton widget enhanced with emoji capability by using EmojiTextViewHelper.

EmojiAppCompatEditText

AppCompatEditText widget enhanced with emoji capability by using EmojiEditTextHelper.

EmojiAppCompatTextView

AppCompatTextView widget enhanced with emoji capability by using EmojiTextViewHelper.

EmojiButton

Button widget enhanced with emoji capability by using EmojiTextViewHelper.

EmojiCompat

Main class to keep Android devices up to date with the newest emojis by adding EmojiSpans to a given .

EmojiCompat.Config

Configuration class for EmojiCompat.

EmojiCompat.InitCallback

Listener class for the initialization of the EmojiCompat.

EmojiCompat.MetadataRepoLoader

Interface to load emoji metadata.

EmojiCompat.MetadataRepoLoaderCallback

Callback to inform EmojiCompat about the state of the metadata load.

EmojiEditText

EditText widget enhanced with emoji capability by using EmojiEditTextHelper.

EmojiEditTextHelper

Utility class to enhance custom EditText widgets with EmojiCompat.

EmojiExtractTextLayout

Layout that contains emoji compatibility enhanced ExtractEditText.

EmojiSpan

Base span class for the emoji replacement.

EmojiTextView

TextView widget enhanced with emoji capability by using EmojiTextViewHelper.

EmojiTextViewHelper

Utility class to enhance custom TextView widgets with EmojiCompat.

EmptyResultSetException

Thrown by Room when the query needs to return a result (e.g. in a Single<T> query) but the returned result set from the database is empty.

Entity

Marks a class as an entity.

EnvironmentCompat

Helper for accessing features in Environment.

ErrorFragment

A fragment for displaying an error indication.

ErrorSupportFragment

A fragment for displaying an error indication.

EventInfo

Represents information associated with a logged event on SliceView.

ExifInterface

This is a class for reading and writing Exif tags in a JPEG file or a RAW image file.

ExistingPeriodicWorkPolicy

An enumeration of the conflict resolution policies available to unique PeriodicWorkRequests in case of a collision.

ExistingWorkPolicy

An enumeration of the conflict resolution policies available to unique OneTimeWorkRequests in case of a collision.

Explode

This transition tracks changes to the visibility of target views in the start and end scenes and moves views in or out from the edges of the scene.

ExploreByTouchHelper

ExploreByTouchHelper is a utility class for implementing accessibility support in custom Views that represent a collection of View-like logical items.

ExternalInput

Identifies parameters of an RemoteCallable that will be pulled from the caller of the callback.

F

FacetProvider

This is the query interface to supply optional features(aka facets) on an object without the need of letting the object to subclass or implement java interfaces.

FacetProviderAdapter

Optional interface that implemented by RecyclerView.Adapter to query FacetProvider for a given type within Adapter.

Fade

This transition tracks changes to the visibility of target views in the start and end scenes and fades views in or out when they become visible or non-visible.

FastOutLinearInInterpolator

Interpolator corresponding to android.R.interpolator#fast_out_linear_in.

FastOutSlowInInterpolator

Interpolator corresponding to android.R.interpolator#fast_out_slow_in.

FeatureFlagHolderBoundaryInterface

Boundary interface to be implemented by any type which is constructed on the support library side (such as callback classes).

Features

Class containing all the features the support library can support.

FileMediaItem

Structure for media item for a file.

FileMediaItem.Builder

This Builder class simplifies the creation of a FileMediaItem object.

FileProvider

FileProvider is a special subclass of ContentProvider that facilitates secure sharing of files associated with an app by creating a content://Uri for a file instead of a file:///Uri

FingerprintManagerCompat

A class that coordinates access to the fingerprint hardware.

FingerprintManagerCompat.AuthenticationCallback

Callback structure provided to FingerprintManagerCompat#authenticate(CryptoObject, * int, CancellationSignal, AuthenticationCallback, Handler).

FingerprintManagerCompat.AuthenticationResult

Container for callback data from FingerprintManagerCompat#authenticate(CryptoObject, * int, CancellationSignal, AuthenticationCallback, Handler).

FingerprintManagerCompat.CryptoObject

A wrapper class for the crypto objects supported by FingerprintManager.

FitWidthBitmapDrawable

Subclass of Drawable that can be used to draw a bitmap into a region.

FlingAnimation

Fling animation is an animation that continues an initial momentum (most often from gesture velocity) and gradually slows down.

FloatPropertyCompat

FloatPropertyCompat is an abstraction that can be used to represent a mutable float value that is held in a host object.

FloatRange

Denotes that the annotated element should be a float or double in the given range

FloatValueHolder

FloatValueHolder holds a float value.

FocusDelegate

Override methods in this class to provide application specific behaviors related to focusing item.

FocusHighlight

Interface for highlighting the item that has focus.

FocusHighlightHelper

Sets up the highlighting behavior when an item gains focus.

FontRequest

Information about a font request that may be sent to a Font Provider.

FontRequestEmojiCompatConfig

EmojiCompat.Config implementation that asynchronously fetches the required font and the metadata using a FontRequest.

FontRequestEmojiCompatConfig.ExponentialBackoffRetryPolicy

A retry policy implementation that doubles the amount of time in between retries.

FontRequestEmojiCompatConfig.RetryPolicy

Retry policy used when the font provider is not ready to give the font file.

FontRes

Denotes that an integer parameter, field or method return value is expected to be a font resource reference (e.g.

FontsContractCompat

Utility class to deal with Font ContentProviders.

FontsContractCompat.Columns

Defines the constants used in a response from a Font Provider.

FontsContractCompat.FontFamilyResult

Object returned from fetchFonts.

FontsContractCompat.FontInfo

Object represent a font entry in the family returned from fetchFonts.

FontsContractCompat.FontRequestCallback

Interface used to receive asynchronously fetched typefaces.

ForeignKey

Declares a foreign key on another Entity.

ForeignKey.Action

Constants definition for values that can be used in onDelete() and onUpdate().

FractionRes

Denotes that an integer parameter, field or method return value is expected to be a fraction resource reference.

Fragment

Static library support version of the framework's android.app.Fragment.

Fragment.InstantiationException

Thrown by FragmentFactory#instantiate(ClassLoader, String) when there is an instantiation failure.

Fragment.SavedState

State information that has been retrieved from a fragment instance through FragmentManager.saveFragmentInstanceState.

FragmentActivity

Base class for activities that want to use the support-based Fragments.

FragmentAnimationProvider

FragmentAnimationProvider supplies animations for use during a fragment's onCreateAnimator callback.

FragmentCompat

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

FragmentCompat.OnRequestPermissionsResultCallback

This interface is the contract for receiving the results for permission requests.

FragmentCompat.PermissionCompatDelegate

Customizable delegate that allows delegating permission related compatibility methods to a custom implementation.

FragmentContainer

Callbacks to a Fragment's container.

FragmentController

Provides integration points with a FragmentManager for a fragment host.

FragmentFactory

Interface used to control the instantiation of Fragment instances.

FragmentHostCallback

Integration points with the Fragment host.

FragmentManager

Static library support version of the framework's android.app.FragmentManager.

FragmentManager.BackStackEntry

Representation of an entry on the fragment back stack, as created with FragmentTransaction.addToBackStack().

FragmentManager.FragmentLifecycleCallbacks

Callback interface for listening to fragment state changes that happen within a given FragmentManager.

FragmentManager.OnBackStackChangedListener

Interface to watch for changes to the back stack.

FragmentManagerNonConfig

FragmentManagerNonConfig stores the retained instance fragments across activity recreation events.

FragmentNavigator

Navigator that navigates through fragment transactions.

FragmentNavigator.Destination

NavDestination specific to FragmentNavigator

FragmentNavigator.Extras

Extras that can be passed to FragmentNavigator to enable Fragment specific behavior

FragmentNavigator.Extras.Builder

Builder for constructing new Extras instances.

FragmentNavigatorDestinationBuilder

DSL for constructing a new FragmentNavigator.Destination

FragmentPagerAdapter

Implementation of PagerAdapter that represents each page as a Fragment that is persistently kept in the fragment manager as long as the user can return to the page.

FragmentPagerAdapter

Implementation of PagerAdapter that represents each page as a android.app.Fragment that is persistently kept in the fragment manager as long as the user can return to the page.

FragmentScenario

FragmentScenario provides API to start and drive a Fragment's lifecycle state for testing.

FragmentScenario.FragmentAction

FragmentAction interface should be implemented by any class whose instances are intended to be executed by the main thread.

FragmentStateAdapter

Similar in behavior to FragmentStatePagerAdapter

FragmentStatePagerAdapter

Implementation of PagerAdapter that uses a Fragment to manage each page.

FragmentStatePagerAdapter

Implementation of PagerAdapter that uses a Fragment to manage each page.

FragmentTabHost

Special TabHost that allows the use of Fragment objects for its tab content.

FragmentTabHost

Version of androidx.fragment.app.FragmentTabHost that can be used with the platform android.app.Fragment APIs.

FragmentTransaction

Static library support version of the framework's android.app.FragmentTransaction.

FragmentViewHolder

ViewHolder implementation for handling Fragments.

FrameMetricsAggregator

This class can be used to record and return data about per-frame durations.

FrameworkSQLiteOpenHelperFactory

Implements SupportSQLiteOpenHelper.Factory using the SQLite implementation in the framework.

Fts3

Marks an Entity annotated class as a FTS3 entity.

Fts4

Marks an Entity annotated class as a FTS4 entity.

FtsOptions

Available option values that can be used with Fts3 & Fts4.

FtsOptions.MatchInfo

FtsOptions.Order

FullWidthDetailsOverviewRowPresenter

Renders a DetailsOverviewRow to display an overview of an item.

FullWidthDetailsOverviewRowPresenter.Listener

Listeners for events on ViewHolder.

FullWidthDetailsOverviewRowPresenter.ViewHolder

A ViewHolder for the DetailsOverviewRow.

FullWidthDetailsOverviewRowPresenter.ViewHolder.DetailsOverviewRowListener

FullWidthDetailsOverviewSharedElementHelper

Helper class to assist delayed shared element activity transition for view created by FullWidthDetailsOverviewRowPresenter.

Function

Represents a function.

G

GestureDetectorCompat

Detects various gestures and events using the supplied MotionEvents.

GravityCompat

Compatibility shim for accessing newer functionality from android.view.Gravity.

GridLayout

A layout that places its children in a rectangular grid.

GridLayout.Alignment

Alignments specify where a view should be placed within a cell group and what size it should be.

GridLayout.LayoutParams

Layout information associated with each of the children of a GridLayout.

GridLayout.Spec

A Spec defines the horizontal or vertical characteristics of a group of cells.

GridLayoutManager

A RecyclerView.LayoutManager implementations that lays out items in a grid.

GridLayoutManager.DefaultSpanSizeLookup

Default implementation for SpanSizeLookup.

GridLayoutManager.LayoutParams

LayoutParams used by GridLayoutManager.

GridLayoutManager.SpanSizeLookup

A helper class to provide the number of spans each item occupies.

GridRowBuilder

Builder to construct a grid row which may be added as a row to ListBuilder.

GridRowBuilder.CellBuilder

Builder to construct a cell.

GridRowBuilderDsl

Helper class annotated with @SliceMarker, which is annotated with @DslMarker.

GuardedBy

Denotes that the annotated method or field can only be accessed when holding the referenced lock.

GuidanceStylist

GuidanceStylist is used within a androidx.leanback.app.GuidedStepFragment to display contextual information for the decision(s) required at that step.

GuidanceStylist.Guidance

A data class representing contextual information for a .

GuidedAction

A data class which represents an action within a .

GuidedAction.Builder

Builds a GuidedAction object.

GuidedAction.BuilderBase

Base builder class to build a GuidedAction object.

GuidedActionAutofillSupport

Interface for a custom EditText subclass to support autofill in androidx.leanback.app.GuidedStepSupportFragment.

GuidedActionAutofillSupport.OnAutofillListener

Listener for autofill event.

GuidedActionDiffCallback

DiffCallback used for GuidedActions, see .

GuidedActionEditText

A custom EditText that satisfies the IME key monitoring requirements of GuidedStepFragment.

GuidedActionsStylist

GuidedActionsStylist is used within a androidx.leanback.app.GuidedStepFragment to supply the right-side panel where users can take actions.

GuidedActionsStylist.ViewHolder

ViewHolder caches information about the action item layouts' subviews.

GuidedDatePickerAction

Subclass of GuidedAction that can choose a date.

GuidedDatePickerAction.Builder

Builder class to build a GuidedDatePickerAction.

GuidedDatePickerAction.BuilderBase

Base Builder class to build GuidedDatePickerAction.

GuidedStepFragment

A GuidedStepFragment is used to guide the user through a decision or series of decisions.

GuidedStepSupportFragment

A GuidedStepSupportFragment is used to guide the user through a decision or series of decisions.

H

HalfFloat

Denotes that the annotated element represents a half-precision floating point value.

HandlerCompat

Helper for accessing features in Handler.

HeaderBuilderDsl

Helper class annotated with @SliceMarker, which is annotated with @DslMarker.

HeaderItem

A header item describes the metadata of a Row, such as a category of media items.

HeadersFragment

An fragment containing a list of row headers.

HeadersFragment.OnHeaderClickedListener

Interface definition for a callback to be invoked when a header item is clicked.

HeadersFragment.OnHeaderViewSelectedListener

Interface definition for a callback to be invoked when a header item is selected.

HeadersSupportFragment

An fragment containing a list of row headers.

HeadersSupportFragment.OnHeaderClickedListener

Interface definition for a callback to be invoked when a header item is clicked.

HeadersSupportFragment.OnHeaderViewSelectedListener

Interface definition for a callback to be invoked when a header item is selected.

HeartRating

A class for rating with a single degree of rating, "heart" vs "no heart".

HeifWriter

This class writes one or more still images (of the same dimensions) into a heif file.

HeifWriter.Builder

Builder class for constructing a HeifWriter object from specified parameters.

HorizontalGridView

A android.view.ViewGroup that shows items in a horizontal scrolling list.

HorizontalHoverCardSwitcher

A helper class for showing a hover card view below a HorizontalGridView.

HtmlCompat

Backwards compatible version of Html.

I

IconCompat

Helper for accessing features in android.graphics.drawable.Icon.

ICUCompat

IdRes

Denotes that an integer parameter, field or method return value is expected to be an id resource reference (e.g.

Ignore

Ignores the marked element from Room's processing logic.

ImageCardView

A subclass of BaseCardView with an ImageView as its main region.

ImageReference

Reference to an image.

ImageReference.Builder

Builder for creating an ImageReference.

ImageViewCompat

Helper for accessing features in ImageView.

ImeKeyMonitor

Interface for an EditText subclass that can delegate calls to onKeyPreIme up to a registered listener.

ImeKeyMonitor.ImeKeyListener

Listener interface for key events intercepted pre-IME by edit text objects.

Index

Declares an index on an Entity.

InputConnectionCompat

Helper for accessing features in InputConnection introduced after API level 13 in a backwards compatible fashion.

InputConnectionCompat.OnCommitContentListener

Listener for commitContent method call, in a backwards compatible fashion.

InputContentInfoCompat

Helper for accessing features in InputContentInfo introduced after API level 13 in a backwards compatible fashion.

InputDeviceCompat

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

InputMerger

An abstract class that allows the user to define how to merge a list of inputs to a ListenableWorker.

InputRangeBuilderDsl

Helper class annotated with @SliceMarker, which is annotated with @DslMarker.

Insert

Marks a method in a Dao annotated class as an insert method.

InspectableProperty

Denotes that the annotated method is the getter for a resources-backed property that should be shown in Android Studio's inspection tools.

InspectableProperty.EnumEntry

One entry in an enumeration packed into a primitive {int}.

InspectableProperty.FlagEntry

One flag value of many that may be packed into a primitive {int}.

InspectableProperty.ValueType

The type of value packed into a primitive {int}.

InstantTaskExecutorRule

A JUnit Test Rule that swaps the background executor used by the Architecture Components with a different one which executes each task synchronously.

IntDef

Denotes that the annotated element of integer type, represents a logical type and that its value should be one of the explicitly named constants.

IntegerRes

Denotes that an integer parameter, field or method return value is expected to be an integer resource reference (e.g.

IntentCompat

Helper for accessing features in android.content.Intent.

InterpolatorRes

Denotes that an integer parameter, field or method return value is expected to be an interpolator resource reference (e.g.

IntRange

Denotes that the annotated element should be an int or long in the given range

InvalidationTracker

InvalidationTracker keeps a list of tables modified by queries and notifies its callbacks about these tables.

InvalidationTracker.Observer

An observer that can listen for changes in the database.

ItemAlignmentFacet

Optional facet provided by RecyclerView.Adapter or RecyclerView.ViewHolder for use in HorizontalGridView and VerticalGridView.

ItemAlignmentFacet.ItemAlignmentDef

Definition of an alignment position under a view.

ItemBridgeAdapter

Bridge from Presenter to RecyclerView.Adapter.

ItemBridgeAdapter.AdapterListener

Interface for listening to ViewHolder operations.

ItemBridgeAdapter.ViewHolder

ViewHolder for the ItemBridgeAdapter.

ItemBridgeAdapter.Wrapper

Interface for wrapping a view created by a Presenter into another view.

ItemBridgeAdapterShadowOverlayWrapper

A wrapper class working with ItemBridgeAdapter to wrap item view in a ShadowOverlayContainer.

ItemDetailsLookup

The Selection library calls getItemDetails(MotionEvent) when it needs access to information about the area and/or ItemDetails under a MotionEvent.

ItemDetailsLookup.ItemDetails

An ItemDetails implementation provides the selection library with access to information about a specific RecyclerView item.

ItemKeyedDataSource

Incremental data loader for paging keyed content, where loaded content uses previously loaded items as input to future loads.

ItemKeyedDataSource.LoadCallback

Callback for ItemKeyedDataSource loadBefore(LoadParams, LoadCallback) and loadAfter(LoadParams, LoadCallback) to return data.

ItemKeyedDataSource.LoadInitialCallback

Callback for loadInitial(LoadInitialParams, LoadInitialCallback) to return data and, optionally, position/count information.

ItemKeyedDataSource.LoadInitialParams

Holder object for inputs to loadInitial(LoadInitialParams, LoadInitialCallback).

ItemKeyedDataSource.LoadParams

Holder object for inputs to loadBefore(LoadParams, LoadCallback) and loadAfter(LoadParams, LoadCallback).

ItemKeyProvider

Provides selection library access to stable selection keys identifying items presented by a RecyclerView instance.

ItemKeyProvider.Scope

ItemTouchHelper

This is a utility class to add swipe to dismiss and drag & drop support to RecyclerView.

ItemTouchHelper.Callback

This class is the contract between ItemTouchHelper and your application.

ItemTouchHelper.SimpleCallback

A simple wrapper to the default Callback which you can construct with drag and swipe directions and this class will handle the flag callbacks.

ItemTouchHelper.ViewDropHandler

An interface which can be implemented by LayoutManager for better integration with ItemTouchHelper.

ItemTouchUIUtil

Utility class for ItemTouchHelper which handles item transformations for different API versions.

J

JobIntentService

Helper for processing work that has been enqueued for a job/service.

K

Keep

Denotes that the annotated element should not be removed when the code is minified at build time.

KeyedAppState

A keyed app state to be sent to an EMM (enterprise mobility management), with the intention that it is displayed to the management organization.

KeyedAppState.KeyedAppStateBuilder

The builder for KeyedAppState.

KeyedAppStatesReporter

A reporter of keyed app states to enable communication between an app and an EMM (enterprise mobility management).

KeyedAppStatesService

Base service for receiving app states in Device Owner and Profile Owner apps.

L

Lane

Configuration of a single lane of a road at a particular point in the navigation.

Lane.Builder

Builder for creating a Lane

LaneDirection

One of the possible directions a driver can go when using a particular lane at a particular step in the navigation.

LaneDirection.Builder

Builder for creating a LaneDirection

LaneDirection.Shape

Turn amount and direction.

LatLng

A representation of a latitude, longitude that can be serialized as a VersionedParcelable.

LayoutInflaterCompat

Helper for accessing features in LayoutInflater.

LayoutInflaterFactory

Used with LayoutInflaterCompat.setFactory().

LayoutRes

Denotes that an integer parameter, field or method return value is expected to be a layout resource reference (e.g.

LeanbackEditTextPreferenceDialogFragmentCompat

Implemented a dialog to input text.

LeanbackListPreferenceDialogFragment

LeanbackListPreferenceDialogFragment.AdapterMulti

Adapter for multiple choices.

LeanbackListPreferenceDialogFragment.AdapterSingle

Adapter for single choice.

LeanbackListPreferenceDialogFragment.ViewHolder

ViewHolder of the List.

LeanbackListPreferenceDialogFragment.ViewHolder.OnItemClickListener

LeanbackListPreferenceDialogFragmentCompat

Implemented a dialog to show ListPreference or MultiSelectListPreference.

LeanbackListPreferenceDialogFragmentCompat.ViewHolder

ViewHolder for each Item in the List.

LeanbackPreferenceDialogFragment

LeanbackPreferenceDialogFragmentCompat

A fragment that shows DialogPreference, for example or androidx.preference.MultiSelectListPreference.

LeanbackPreferenceFragment

This fragment provides a fully decorated leanback-style preference fragment, including a list background and header.

LeanbackPreferenceFragmentCompat

This fragment provides a fully decorated leanback-style preference fragment, including a list background and header.

LeanbackSettingsFragment

This fragment provides a container for displaying a LeanbackPreferenceFragment

LeanbackSettingsFragmentCompat

This fragment provides a container for displaying a LeanbackPreferenceFragmentCompat

Lifecycle

Defines an object that has an Android Lifecycle.

Lifecycle.Event

Lifecycle.State

Lifecycle states.

LifecycleEventObserver

Class that can receive any lifecycle change and dispatch it to the receiver.

LifecycleObserver

Marks a class as a LifecycleObserver.

LifecycleOwner

A class that has an Android lifecycle.

LifecycleRegistry

An implementation of Lifecycle that can handle multiple observers.

LifecycleRegistryOwner

LifecycleService

A Service that is also a LifecycleOwner.

LinearLayoutCompat

A Layout that arranges its children in a single column or a single row.

LinearLayoutCompat.LayoutParams

Per-child layout information associated with ViewLinearLayout.

LinearLayoutManager

A RecyclerView.LayoutManager implementation which provides similar functionality to android.widget.ListView.

LinearLayoutManager.LayoutChunkResult

LinearOutSlowInInterpolator

Interpolator corresponding to android.R.interpolator#linear_out_slow_in.

LinearSmoothScroller

RecyclerView.SmoothScroller implementation which uses a LinearInterpolator until the target position becomes a child of the RecyclerView and then uses a DecelerateInterpolator to slowly approach to target position.

LinearSnapHelper

Implementation of the SnapHelper supporting snapping in either vertical or horizontal orientation.

LinkifyCompat

LinkifyCompat brings in Linkify improvements for URLs and email addresses to older API levels.

ListAdapter

RecyclerView.Adapter base class for presenting List data in a RecyclerView, including computing diffs between Lists on a background thread.

ListBuilder

Builder for constructing slices composed of rows of content.

ListBuilder.HeaderBuilder

Builder to construct a header row.

ListBuilder.InputRangeBuilder

Builder to construct a input range row.

ListBuilder.RangeBuilder

Builder to construct a range row which can be added to a ListBuilder.

ListBuilder.RowBuilder

Builder to construct a row.

ListBuilderDsl

Helper class annotated with @SliceMarker, which is annotated with @DslMarker.

ListenableWorker

A class that can perform work asynchronously in WorkManager.

ListenableWorker.Result

The result of a ListenableWorker's computation.

ListFragment

Static library support version of the framework's android.app.ListFragment.

ListItem

Definition of items that can be inserted into ListItemAdapter.

ListItem.ViewBinder

Functional interface to provide a way to interact with views in ViewHolder.

ListItem.ViewHolder

ViewHolder that supports ViewBinder.

ListItemAdapter

Adapter for PagedListView to display ListItem.

ListItemAdapter.BackgroundStyle

Constant class for background style of items.

ListItemProvider

Supplies data as ListItem.

ListItemProvider.ListProvider

A simple provider that wraps around a list.

ListPopupWindow

Static library support version of the framework's android.widget.ListPopupWindow.

ListPopupWindowCompat

Helper for accessing features in ListPopupWindow.

ListPreference

A Preference that displays a list of entries as a dialog.

ListPreference.SimpleSummaryProvider

A simple androidx.preference.Preference.SummaryProvider implementation for a ListPreference.

ListPreferenceDialogFragment

ListPreferenceDialogFragmentCompat

ListRow

A Row composed of a optional HeaderItem, and an ObjectAdapter describing the items in the list.

ListRowHoverCardView

ListRowHoverCardView contains a title and description.

ListRowPresenter

ListRowPresenter renders ListRow using a HorizontalGridView hosted in a ListRowView.

ListRowPresenter.SelectItemViewHolderTask

A task on the ListRowPresenter.

ListRowPresenter.ViewHolder

ViewHolder for the ListRowPresenter.

ListRowView

ListRowView is a android.view.ViewGroup which always contains a HorizontalGridView, and may optionally include a hover card.

ListUpdateCallback

An interface that can receive Update operations that are applied to a list.

ListViewAutoScrollHelper

An implementation of AutoScrollHelper that knows how to scroll through a ListView.

ListViewCompat

Helper for accessing features in ListView

LiveData

LiveData is a data holder class that can be observed within a given lifecycle.

LiveDataReactiveStreams

Adapts LiveData input and output to the ReactiveStreams spec.

LivePagedListBuilder

Builder for LiveData<PagedList>, given a DataSource.Factory and a PagedList.Config.

Loader

Static library support version of the framework's android.content.Loader.

Loader.ForceLoadContentObserver

An implementation of a ContentObserver that takes care of connecting it to the Loader to have the loader re-load its data when the observer is told it has changed.

Loader.OnLoadCanceledListener

Interface that is implemented to discover when a Loader has been canceled before it finished loading its data.

Loader.OnLoadCompleteListener

Interface that is implemented to discover when a Loader has finished loading its data.

LoaderManager

Static library support version of the framework's android.app.LoaderManager.

LoaderManager.LoaderCallbacks

Callback interface for a client to interact with the manager.

LoaderQueryRunner

A ContentPager.QueryRunner that executes queries using a LoaderManager.

LocalBroadcastManager

Helper to register for and send broadcasts of Intents to local objects within your process.

LocaleListCompat

Helper for accessing features in LocaleList.

LocationManagerCompat

Helper for accessing features in LocationManager.

LongDef

Denotes that the annotated long element represents a logical type and that its value should be one of the explicitly named constants.

LongSparseArray

SparseArray mapping longs to Objects.

LruCache

Static library version of android.util.LruCache.

M

MainThread

Denotes that the annotated method should only be called on the main thread.

Maneuver

Information about a maneuver that the driver will be required to perform.

Maneuver.Builder

Builder for creating a Maneuver

Maneuver.Type

Possible maneuver types.

MarginLayoutParamsCompat

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

MathUtils

A utility class providing functions useful for common mathematical operations.

MbmsHelper

Helper methods for working with the android.telephony.mbms cell-broadcast APIs.

MediaBrowser

Browses media content offered by a MediaLibraryService.

MediaBrowser.BrowserCallback

Callback to listen events from MediaLibraryService.

MediaBrowser.BrowserResult

Result class to be used with ListenableFuture for asynchronous calls.

MediaBrowserCompat

Browses media content offered by a MediaBrowserServiceCompat.

MediaBrowserCompat.ConnectionCallback

Callbacks for connection related events.

MediaBrowserCompat.CustomActionCallback

Callback for receiving the result of sendCustomAction.

MediaBrowserCompat.ItemCallback

Callback for receiving the result of getItem.

MediaBrowserCompat.MediaItem

A class with information on a single media item for use in browsing/searching media.

MediaBrowserCompat.SearchCallback

Callback for receiving the result of search.

MediaBrowserCompat.SubscriptionCallback

Callbacks for subscription related events.

MediaBrowserServiceCompat

Base class for media browse services.

MediaBrowserServiceCompat.BrowserRoot

Contains information that the browser service needs to send to the client when first connected.

MediaBrowserServiceCompat.Result

Completion handler for asynchronous callback methods in MediaBrowserServiceCompat.

MediaButtonReceiver

A media button receiver receives and helps translate hardware media playback buttons, such as those found on wired and wireless headsets, into the appropriate callbacks in your app.

MediaControlIntent

Constants for media control intents.

MediaController

Allows an app to interact with an active MediaSession or a MediaSessionService which would provide MediaSession.

MediaController.ControllerCallback

Interface for listening to change in activeness of the MediaSession.

MediaController.ControllerResult

Result class to be used with ListenableFuture for asynchronous calls.

MediaController.PlaybackInfo

Holds information about the the way volume is handled for this session.

MediaControllerAdapter

A helper class for implementing a adapter layer for MediaControllerCompat.

MediaControllerCompat

Allows an app to interact with an ongoing media session.

MediaControllerCompat.Callback

Callback for receiving updates on from the session.

MediaControllerCompat.PlaybackInfo

Holds information about the way volume is handled for this session.

MediaControllerCompat.TransportControls

Interface for controlling media playback on a session.

MediaControllerGlue

A helper class for implementing a glue layer for MediaControllerCompat.

MediaDescriptionCompat

A simple set of metadata for a media item suitable for display.

MediaDescriptionCompat.Builder

Builder for MediaDescriptionCompat objects.

MediaItem

A class with information on a single media item with the metadata information.

MediaItem.Builder

Builder for MediaItem.

MediaItemMetadata

Constants for specifying metadata about a media item as a Bundle.

MediaItemStatus

Describes the playback status of a media item.

MediaItemStatus.Builder

Builder for media item status objects.

MediaLibraryService

Base class for media library services, which is the service containing MediaLibrarySession.

MediaLibraryService.LibraryParams

Contains information that the library service needs to send to the client.

MediaLibraryService.LibraryParams.Builder

Builds LibraryParams.

MediaLibraryService.LibraryResult

Result class to be used with ListenableFuture for asynchronous calls.

MediaLibraryService.MediaLibrarySession

Session for the MediaLibraryService.

MediaLibraryService.MediaLibrarySession.Builder

Builder for MediaLibrarySession.

MediaLibraryService.MediaLibrarySession.MediaLibrarySessionCallback

Callback for the MediaLibrarySession.

MediaMetadata

Contains metadata about an item, such as the title, artist, etc.

MediaMetadata.Builder

Use to build MediaMetadatax objects.

MediaMetadataCompat

Contains metadata about an item, such as the title, artist, etc.

MediaMetadataCompat.Builder

Use to build MediaMetadata objects.

MediaPlayer

A media player which plays MediaItems.

MediaPlayer.PlayerCallback

Interface definition for callbacks to be invoked when the player has the corresponding events.

MediaPlayer.TrackInfo

Class for the player to return each audio/video/subtitle track's metadata.

MediaPlayerAdapter

This implementation extends the PlayerAdapter with a MediaPlayer.

MediaRouteActionProvider

The media route action provider displays a media route button in the application's ActionBar to allow the user to select routes and to control the currently selected route.

MediaRouteButton

The media route button allows the user to select routes and to control the currently selected route.

MediaRouteChooserDialog

This class implements the route chooser dialog for MediaRouter.

MediaRouteChooserDialogFragment

Media route chooser dialog fragment.

MediaRouteControllerDialog

This class implements the route controller dialog for MediaRouter.

MediaRouteControllerDialogFragment

Media route controller dialog fragment.

MediaRouteDescriptor

Describes the properties of a route.

MediaRouteDescriptor.Builder

Builder for media route descriptors.

MediaRouteDialogFactory

The media route dialog factory is responsible for creating the media route chooser and controller dialogs as needed.

MediaRouteDiscoveryFragment

Media route discovery fragment.

MediaRouteDiscoveryRequest

Describes the kinds of routes that the media router would like to discover and whether to perform active scanning.

MediaRouteProvider

Media route providers are used to publish additional media routes for use within an application.

MediaRouteProvider.Callback

Callback which is invoked when route information becomes available or changes.

MediaRouteProvider.DynamicGroupRouteController

Provides control over a dynamic group route.

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor

Contains a route, its selection state and its capabilities.

MediaRouteProvider.DynamicGroupRouteController.DynamicRouteDescriptor.Builder

Builder for DynamicRouteDescriptor

MediaRouteProvider.DynamicGroupRouteController.OnDynamicRoutesChangedListener

Used to notify media router each route's property changes regarding this DynamicGroupRouteController instance.

MediaRouteProvider.ProviderMetadata

Describes properties of the route provider's implementation.

MediaRouteProvider.RouteController

Provides control over a particular route.

MediaRouteProviderDescriptor

Describes the state of a media route provider and the routes that it publishes.

MediaRouteProviderDescriptor.Builder

Builder for MediaRouteProviderDescriptor.

MediaRouteProviderService

Base class for media route provider services.

MediaRouter

MediaRouter allows applications to control the routing of media channels and streams from the current device to external speakers and destination devices.

MediaRouter.Callback

Interface for receiving events about media routing changes.

MediaRouter.ControlRequestCallback

Callback which is invoked with the result of a media control request.

MediaRouter.ProviderInfo

Provides information about a media route provider.

MediaRouter.RouteInfo

Provides information about a media route.

MediaRouteSelector

Describes the capabilities of routes that applications would like to discover and use.

MediaRouteSelector.Builder

Builder for media route selectors.

MediaSession

Allows a media app to expose its transport controls and playback information in a process to other processes including the Android framework and other apps.

MediaSession.Builder

Builder for MediaSession.

MediaSession.CommandButton

Button for a SessionCommand that will be shown by the controller.

MediaSession.CommandButton.Builder

Builder for CommandButton.

MediaSession.ControllerInfo

Information of a controller.

MediaSession.SessionCallback

Callback to be called for all incoming commands from MediaControllers.

MediaSession.SessionResult

Result class to be used with ListenableFuture for asynchronous calls.

MediaSessionCompat

Allows interaction with media controllers, volume keys, media buttons, and transport controls.

MediaSessionCompat.Callback

Receives transport controls, media buttons, and commands from controllers and the system.

MediaSessionCompat.OnActiveChangeListener

MediaSessionCompat.QueueItem

A single item that is part of the play queue.

MediaSessionCompat.Token

Represents an ongoing session.

MediaSessionManager

Provides support for interacting with media sessions that applications have published to express their ongoing media playback state.

MediaSessionManager

Provides support for interacting with media sessions that applications have published in order to express their ongoing media playback state.

MediaSessionManager.RemoteUserInfo

Information of a remote user of MediaSessionCompat or MediaBrowserServiceCompat.

MediaSessionService

Base class for media session services, which is the service containing MediaSession.

MediaSessionService.MediaNotification

Returned by onUpdateNotification(MediaSession) for making session service foreground service to keep playback running in the background.

MediaSessionStatus

Describes the playback status of a media session.

MediaSessionStatus.Builder

Builder for media session status objects.

MediaTimestamp

An immutable object that represents the linear correlation between the media time and the system time.

MediatorLiveData

LiveData subclass which may observe other LiveData objects and react on OnChanged events from them.

MenuCompat

Helper for accessing features in android.view.Menu.

MenuItemCompat

Helper for accessing features in android.view.MenuItem.

MenuItemCompat.OnActionExpandListener

Interface definition for a callback to be invoked when a menu item marked with is expanded or collapsed.

MenuRes

Denotes that an integer parameter, field or method return value is expected to be a menu resource reference.

MessageCompat

Helper for accessing features in Message.

MetadataConstants

Constants for android wear apps which are related to manifest meta-data.

MetadataRepo

Class to hold the emoji metadata required to process and draw emojis.

Migration

Base class for a database migration.

MigrationTestHelper

A class that can be used in your Instrumentation tests that can create the database in an older schema.

MimeTypeFilter

Provides utility methods for matching MIME type filters used in ContentProvider.

MotionEventCompat

Helper for accessing features in MotionEvent.

MultiActionsProvider

An interface implemented by the user if they wish to provide actions for a media item row to be displayed by an AbstractMediaItemPresenter.

MultiActionsProvider.MultiAction

MultiAction represents an action that can have multiple states.

MultiSelectListPreference

A Preference that displays a list of entries as a dialog.

MultiSelectListPreferenceDialogFragment

MultiSelectListPreferenceDialogFragmentCompat

MutableLiveData

LiveData which publicly exposes setValue(T) and postValue(T) method.

MutableSelection

Subclass of Selection exposing public support for mutating the underlying selection data.

N

NavAction

Navigation actions provide a level of indirection between your navigation code and the underlying destinations.

NavActionBuilder

DSL for building a NavAction.

NavArgs

An interface marking generated Args classes.

NavArgsLazy

An implementation of Lazy used by android.app.Activity.navArgs and android.support.v4.app.Fragment.navArgs.

NavArgument

NavArgument denotes an argument that is supported by a NavDestination.

NavArgument.Builder

A builder for constructing NavArgument instances.

NavArgumentBuilder

DSL for constructing a new NavArgument

NavController

NavController manages app navigation within a NavHost.

NavController.OnDestinationChangedListener

OnDestinationChangedListener receives a callback when the getCurrentDestination() or its arguments change.

NavDeepLinkBuilder

Class used to construct deep links to a particular destination in a NavGraph.

NavDestination

NavDestination represents one node within an overall navigation graph.

NavDestination.ClassType

This optional annotation allows tooling to offer auto-complete for the android:name attribute.

NavDestinationBuilder

DSL for constructing a new NavDestination

NavDestinationDsl

NavDirections

An interface that describes a navigation operation: action's id and arguments

NavGraph

NavGraph is a collection of NavDestination nodes fetchable by ID.

NavGraphBuilder

DSL for constructing a new NavGraph

NavGraphNavigator

A Navigator built specifically for NavGraph elements.

NavHost

A host is a single context or container for navigation via a NavController.

NavHostFragment

NavHostFragment provides an area within your layout for self-contained navigation to occur.

Navigation

Entry point for navigation operations.

NavigationRes

Denotes that an integer parameter, field or method return value is expected to be a navigation resource reference (e.g.

NavigationState

Navigation state data to be displayed on the instrument cluster of a car.

NavigationState.Builder

Builder for creating a NavigationState

NavigationState.ServiceStatus

Possible service states

NavigationUI

Class which hooks up elements typically in the 'chrome' of your application such as global navigation patterns like a navigation drawer or bottom nav bar with your NavController.

Navigator

Navigator defines a mechanism for navigating within an app.

Navigator.Extras

Interface indicating that this class should be passed to its respective Navigator to enable Navigator specific behavior.

Navigator.Name

This annotation should be added to each Navigator subclass to denote the default name used to register the Navigator with a NavigatorProvider.

NavigatorProvider

A NavigationProvider stores a set of Navigators that are valid ways to navigate to a destination.

NavInflater

Class which translates a navigation XML file into a NavGraph

NavOptions

NavOptions stores special options for navigate actions

NavOptions.Builder

Builder for constructing new instances of NavOptions.

NavOptionsBuilder

DSL for constructing a new NavOptions

NavOptionsDsl

NavType

NavType denotes the type that can be used in a NavArgument.

NavType.EnumType

EnumType is used for NavArguments holding enum values.

NavType.ParcelableArrayType

ParcelableArrayType is used for NavArguments which hold arrays of Parcelables.

NavType.ParcelableType

ParcelableType is used for passing Parcelables in NavArguments.

NavType.SerializableArrayType

SerializableArrayType is used for NavArguments that hold arrays of Serializables.

NavType.SerializableType

SerializableType is used for Serializable NavArguments.

NavUtils

NavUtils provides helper functionality for applications implementing recommended Android UI navigation patterns.

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.

NestedScrollingChildHelper

Helper class for implementing nested scrolling child views compatible with Android platform versions earlier than Android 5.

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.

NestedScrollingParentHelper

Helper class for implementing nested scrolling parent views compatible with Android platform versions earlier than Android 5.

NestedScrollView

NestedScrollView is just like android.widget.ScrollView, but it supports acting as both a nested scrolling parent and child on both new and old versions of Android.

NestedScrollView.OnScrollChangeListener

Interface definition for a callback to be invoked when the scroll X or Y positions of a view change.

NetworkType

An enumeration of various network types that can be used as Constraints for work.

NonNull

Denotes that a parameter, field or method return value can never be null.

NotificationCompat

Helper for accessing features in android.app.Notification.

NotificationCompat

Class containing media specfic styles that you can use with androidx.core.app.NotificationCompat.Builder#setStyle.

NotificationCompat.Action

Structure to encapsulate a named action that can be shown as part of this notification.

NotificationCompat.Action.Builder

Builder class for Action objects.

NotificationCompat.Action.Extender

Extender interface for use with Builder#extend.

NotificationCompat.Action.SemanticAction

Provides meaning to an Action that hints at what the associated PendingIntent will do.

NotificationCompat.Action.WearableExtender

Wearable extender for notification actions.

NotificationCompat.BigPictureStyle

Helper class for generating large-format notifications that include a large image attachment.

NotificationCompat.BigTextStyle

Helper class for generating large-format notifications that include a lot of text.

NotificationCompat.Builder

Builder class for NotificationCompat objects.

NotificationCompat.CarExtender

Helper class to add Android Auto extensions to notifications.

NotificationCompat.CarExtender.UnreadConversation

A class which holds the unread messages from a conversation.

NotificationCompat.CarExtender.UnreadConversation.Builder

Builder class for CarExtender.UnreadConversation objects.

NotificationCompat.DecoratedCustomViewStyle

Notification style for custom views that are decorated by the system.

NotificationCompat.DecoratedMediaCustomViewStyle

Notification style for media custom views that are decorated by the system.

NotificationCompat.Extender

Extender interface for use with Builder#extend.

NotificationCompat.InboxStyle

Helper class for generating large-format notifications that include a list of (up to 5) strings.

NotificationCompat.MediaStyle

Notification style for media playback notifications.

NotificationCompat.MessagingStyle

Helper class for generating large-format notifications that include multiple back-and-forth messages of varying types between any number of people.

NotificationCompat.MessagingStyle.Message

NotificationCompat.Style

An object that can apply a rich notification style to a Notification.Builder object.

NotificationCompat.WearableExtender

Helper class to add wearable extensions to notifications.

NotificationCompatExtras

Well-known extras used by NotificationCompat for backwards compatibility.

NotificationCompatSideChannelService

Abstract service to receive side channel notifications sent from androidx.core.app.NotificationManagerCompat.

NotificationManagerCompat

Compatibility library for NotificationManager with fallbacks for older platforms.

Nullable

Denotes that a parameter, field or method return value can be null.

O

ObjectAdapter

Base class adapter to be used in leanback activities.

ObjectAdapter.DataObserver

A DataObserver can be notified when an ObjectAdapter's underlying data changes.

ObjectsCompat

This class consists of static utility methods for operating on objects.

Observer

A simple callback that can receive from LiveData.

OnActionClickedListener

Interface for receiving notification when an Action is clicked.

OnApplyWindowInsetsListener

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

OnBackPressedCallback

Interface for handling OnBackPressedDispatcher#onBackPressed() callbacks without strongly coupling that implementation to a subclass of ComponentActivity.

OnBackPressedDispatcher

Dispatcher that can be used to register OnBackPressedCallback instances for handling the ComponentActivity#onBackPressed() callback via composition.

OnboardingFragment

An OnboardingFragment provides a common and simple way to build onboarding screen for applications.

OnboardingSupportFragment

An OnboardingSupportFragment provides a common and simple way to build onboarding screen for applications.

OnChildLaidOutListener

Interface for receiving notification when a child of this ViewGroup has been laid out.

OnChildSelectedListener

Interface for receiving notification when a child of this ViewGroup has been selected.

OnChildViewHolderSelectedListener

Interface for receiving notification when a child of this ViewGroup has been selected.

OnConflictStrategy

Set of conflict handling strategies for various Dao methods.

OnContextClickListener

Register an OnContextClickListener to be notified when a context click occurs.

OnDragInitiatedListener

Register an OnDragInitiatedListener to be notified when user intent to perform drag and drop operations on an item or items has been detected.

OneShotPreDrawListener

An OnPreDrawListener that will remove itself after one OnPreDraw call.

OneTimeWorkRequest

A WorkRequest for non-repeating work.

OneTimeWorkRequest.Builder

Builder for OneTimeWorkRequests.

OnItemActivatedListener

Register an OnItemActivatedListener to be notified when an item is activated (tapped or double clicked).

OnItemViewClickedListener

Interface for receiving notification when a item view holder is clicked.

OnItemViewSelectedListener

Interface for receiving notification when a row or item becomes selected.

OnLifecycleEvent

OnUxRestrictionsChangedListener

Listener Interface for clients to implement to get updated on User Experience Restrictions (UXR, or UX restrictions) related changes.

Operation

An object that provides information about the execution of an asynchronous command being performed by WorkManager.

Operation.State

The lifecycle state of an Operation.

Operation.State.FAILURE

This represents an Operation which has failed.

Operation.State.IN_PROGRESS

This represents an Operation which is in progress.

Operation.State.SUCCESS

This represents an Operation which is successful.

OperationCanceledException

An exception type that is thrown when an operation in progress is canceled.

OperationMonitor

OperationMonitor provides a mechanism to coordinate application logic with ongoing user selection activities (such as active band selection and active gesture selection).

OperationMonitor.OnChangeListener

Listen to changes in operation status.

OrientationHelper

Helper class for LayoutManagers to abstract measurements depending on the View's orientation.

OverwritingInputMerger

An InputMerger that attempts to add all keys from all inputs to the output.

P

PackageInfoCompat

Helper for accessing features in PackageInfo.

PagedList

Lazy loading list that pages in immutable content from a DataSource.

PagedList.BoundaryCallback

Signals when a PagedList has reached the end of available data.

PagedList.Builder

Builder class for PagedList.

PagedList.Callback

Callback signaling when content is loaded into the list.

PagedList.Config

Configures how a PagedList loads content from its DataSource.

PagedList.Config.Builder

Builder class for Config.

PagedListAdapter

RecyclerView.Adapter base class for presenting paged data from PagedLists in a RecyclerView.

PagedListView

View that wraps a RecyclerView and a scroll bar that has page up and down arrows.

PagedListView.DividerVisibilityManager

Interface for controlling visibility of item dividers for individual items based on the item's position.

PagedListView.Gutter

The possible values for @{link #setGutter}.

PagedListView.ItemCap

Interface for a RecyclerView.Adapter to cap the number of items.

PagedListView.ItemPositionOffset

Interface for a RecyclerView.Adapter to set the position offset for the adapter to load the data.

PagedListView.OnScrollListener

Used to listen for PagedListView scroll events.

PagedScrollBarView

A custom view to provide list scroll behaviour -- up/down buttons and scroll indicator.

PagedScrollBarView.PaginationListener

Listener for when the list should paginate.

PageKeyedDataSource

Incremental data loader for page-keyed content, where requests return keys for next/previous pages.

PageKeyedDataSource.LoadCallback

Callback for PageKeyedDataSource loadBefore(LoadParams, LoadCallback) and loadAfter(LoadParams, LoadCallback) to return data.

PageKeyedDataSource.LoadInitialCallback

Callback for loadInitial(LoadInitialParams, LoadInitialCallback) to return data and, optionally, position/count information.

PageKeyedDataSource.LoadInitialParams

Holder object for inputs to loadInitial(LoadInitialParams, LoadInitialCallback).

PageKeyedDataSource.LoadParams

Holder object for inputs to loadBefore(LoadParams, LoadCallback) and loadAfter(LoadParams, LoadCallback).

PagerAdapter

Base class providing the adapter to populate pages inside of a ViewPager.

PageRow

Used to represent content spanning full page.

PagerSnapHelper

Implementation of the SnapHelper supporting pager style snapping in either vertical or horizontal orientation.

PagerTabStrip

PagerTabStrip is an interactive indicator of the current, next, and previous pages of a ViewPager.

PagerTitleStrip

PagerTitleStrip is a non-interactive indicator of the current, next, and previous pages of a ViewPager.

PaintCompat

Helper for accessing features in Paint.

Pair

Container to ease passing around a tuple of two objects.

Palette

A helper class to extract prominent colors from an image.

Palette.Builder

Builder class for generating Palette instances.

Palette.Filter

A Filter provides a mechanism for exercising fine-grained control over which colors are valid within a resulting Palette.

Palette.PaletteAsyncListener

Listener to be used with generateAsync(Bitmap, PaletteAsyncListener) or generateAsync(Bitmap, int, PaletteAsyncListener)

Palette.Swatch

Represents a color swatch generated from an image's palette.

Parallax

Parallax tracks a list of dynamic Propertys typically representing foreground UI element positions on screen.

Parallax.FloatProperty

FloatProperty provide access to an index based integer type property inside Parallax.

Parallax.IntProperty

IntProperty provide access to an index based integer type property inside Parallax.

Parallax.PropertyMarkerValue

Class holding a fixed value for a Property in Parallax.

ParallaxEffect

ParallaxEffect class drives changes in ParallaxTarget in response to changes in variables defined in Parallax.

ParallaxTarget

ParallaxTarget is responsible for updating the target through the update(float) method or the directUpdate(Number) method when isDirectMapping() is true.

ParallaxTarget.DirectPropertyTarget

DirectPropertyTarget is to support direct mapping into either Integer Property or Float Property.

ParallaxTarget.PropertyValuesHolderTarget

PropertyValuesHolderTarget is an implementation of ParallaxTarget that uses PropertyValuesHolder to update the target object.

ParcelableCompat

Helper for accessing features in android.os.Parcelable.

ParcelableCompatCreatorCallbacks

Callbacks a Parcelable creator should implement.

ParcelableVolumeInfo

Convenience class for passing information about the audio configuration of a MediaSessionCompat.

ParcelCompat

Helper for accessing features in Parcel.

ParcelUtils

Utilities for managing VersionedParcelables.

PathInterpolatorCompat

Helper for creating path-based Interpolator instances.

PathMotion

This base class can be extended to provide motion along a Path to Transitions.

PathSegment

A line segment that represents an approximate fraction of a Path after flattening.

PathUtils

A set of path-related utility methods.

PatternPathMotion

A PathMotion that takes a Path pattern and applies it to the separation between two points.

PatternsCompat

Commonly used regular expression patterns.

PercentageRating

A class for rating expressed as a percentage.

PercentFrameLayout

Subclass of android.widget.FrameLayout that supports percentage based dimensions and margins.

PercentFrameLayout.LayoutParams

PercentLayoutHelper

Helper for layouts that want to support percentage based dimensions.

PercentLayoutHelper.PercentLayoutInfo

Container for information about percentage dimensions and margins.

PercentLayoutHelper.PercentLayoutParams

If a layout wants to support percentage based dimensions and use this helper class, its LayoutParams subclass must implement this interface.

PercentRelativeLayout

Subclass of android.widget.RelativeLayout that supports percentage based dimensions and margins.

PercentRelativeLayout.LayoutParams

PeriodicWorkRequest

A WorkRequest for repeating work.

PeriodicWorkRequest.Builder

Builder for PeriodicWorkRequests.

PermissionChecker

This class provides permission check APIs that verify both the permission and the associated app op for this permission if such is defined.

PermissionInfoCompat

Helper for accessing features in PermissionInfo.

Person

Provides an immutable reference to an entity that appears repeatedly on different surfaces of the platform.

Person.Builder

Builder for the immutable Person class.

Picker

Picker is a widget showing multiple customized PickerColumns.

Picker.PickerValueListener

Listener for Picker value changes.

PickerColumn

Picker column class used by Picker, defines a contiguous value ranges and associated labels.

PinPicker

Picker subclass for allowing the user to enter a numerical PIN.

PlaybackBannerControlGlue

A helper class for managing a PlaybackControlsRow being displayed in PlaybackGlueHost.

PlaybackBaseControlGlue

A base abstract class for managing a PlaybackControlsRow being displayed in PlaybackGlueHost.

PlaybackControlGlue

A helper class for managing a PlaybackControlsRow and PlaybackGlueHost that implements a recommended approach to handling standard playback control actions such as play/pause, fast forward/rewind at progressive speed levels, and skip to next/previous.

PlaybackControlsRow

A Row of playback controls to be displayed by a PlaybackControlsRowPresenter.

PlaybackControlsRow.ClosedCaptioningAction

An action for displaying a CC (Closed Captioning) icon.

PlaybackControlsRow.FastForwardAction

An action displaying an icon for fast forward.

PlaybackControlsRow.HighQualityAction

An action for displaying a HQ (High Quality) icon.

PlaybackControlsRow.MoreActions

An action displaying an icon for "more actions".

PlaybackControlsRow.MultiAction

Base class for an action comprised of a series of icons.

PlaybackControlsRow.OnPlaybackProgressCallback

Listener for progress or duration change.

PlaybackControlsRow.PictureInPictureAction

An action displaying an icon for picture-in-picture.

PlaybackControlsRow.PlayPauseAction

An action displaying icons for play and pause.

PlaybackControlsRow.RepeatAction

An action for displaying three repeat states: none, one, or all.

PlaybackControlsRow.RewindAction

An action displaying an icon for rewind.

PlaybackControlsRow.ShuffleAction

An action for displaying a shuffle icon.

PlaybackControlsRow.SkipNextAction

An action displaying an icon for skip next.

PlaybackControlsRow.SkipPreviousAction

An action displaying an icon for skip previous.

PlaybackControlsRow.ThumbsAction

A base class for displaying a thumbs action.

PlaybackControlsRow.ThumbsDownAction

An action displaying an icon for thumbs down.

PlaybackControlsRow.ThumbsUpAction

An action displaying an icon for thumbs up.

PlaybackControlsRowPresenter

A PlaybackControlsRowPresenter renders a PlaybackControlsRow to display a series of playback control buttons.

PlaybackControlsRowPresenter.ViewHolder

A ViewHolder for the PlaybackControlsRow.

PlaybackFragment

A fragment for displaying playback controls and related content.

PlaybackFragmentGlueHost

PlaybackGlueHost implementation the interaction between this class and PlaybackFragment.

PlaybackGlue

Base class for abstraction of media play/pause feature.

PlaybackGlue.PlayerCallback

Interface to allow clients to take action once the video is ready to play and start stop.

PlaybackGlueHost

This class represents the UI (e.g. Fragment/Activity) hosting playback controls and defines the interaction between

PlaybackGlueHost.HostCallback

Callbacks triggered by the host(e.g. fragment) hosting the video controls/surface.

PlaybackGlueHost.PlayerCallback

Optional Client that implemented by PlaybackGlueHost to respond to player event.

PlaybackParams

Structure for common playback params.

PlaybackParams.Builder

The builder class that makes it easy to chain setters to create a PlaybackParams object.

PlaybackRowPresenter

Subclass of RowPresenter that can define the desired behavior when the view reappears.

PlaybackRowPresenter.ViewHolder

This container is used for trapping click events and passing them to the playback controls.

PlaybackSeekDataProvider

Class to be implemented by app to provide seeking data and thumbnails to UI.

PlaybackSeekDataProvider.ResultCallback

Client to receive result for PlaybackSeekDataProvider#getThumbnail(int, * ResultCallback).

PlaybackSeekUi

Interface to be implemented by UI component to support seeking.

PlaybackSeekUi.Client

Client (e.g. PlaybackGlue) to register on PlaybackSeekUi so that it can interact with Seeking UI.

PlaybackStateCompat

Playback state for a MediaSessionCompat.

PlaybackStateCompat.Builder

Builder for PlaybackStateCompat objects.

PlaybackStateCompat.CustomAction

CustomActions can be used to extend the capabilities of the standard transport controls by exposing app specific actions to Controllers.

PlaybackStateCompat.CustomAction.Builder

Builder for CustomAction objects.

PlaybackSupportFragment

A fragment for displaying playback controls and related content.

PlaybackSupportFragmentGlueHost

PlaybackGlueHost implementation the interaction between this class and PlaybackSupportFragment.

PlaybackTransportControlGlue

A helper class for managing a PlaybackControlsRow being displayed in PlaybackGlueHost, it supports standard playback control actions play/pause, and skip next/previous.

PlaybackTransportRowPresenter

A PlaybackTransportRowPresenter renders a PlaybackControlsRow to display a series of playback control buttons.

PlaybackTransportRowPresenter.ViewHolder

A ViewHolder for the PlaybackControlsRow supporting seek UI.

PlayerAdapter

Base class that wraps underlying media player.

PlayerAdapter.Callback

Client for client of PlayerAdapter.

PluralsRes

Denotes that an integer parameter, field or method return value is expected to be a plurals resource reference.

PointerIconCompat

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

Pools

Helper class for creating pools of objects.

Pools.Pool

Interface for managing a pool of objects.

Pools.SimplePool

Simple (non-synchronized) pool of objects.

Pools.SynchronizedPool

Synchronized) pool of objects.

PopupMenu

Static library support version of the framework's android.widget.PopupMenu.

PopupMenu.OnDismissListener

Callback interface used to notify the application that the menu has closed.

PopupMenu.OnMenuItemClickListener

Interface responsible for receiving menu item click events if the items themselves do not have individual item click listeners.

PopupMenuCompat

Helper for accessing features in PopupMenu.

PopUpToBuilder

DSL for customizing NavOptionsBuilder.popUpTo operations.

PopupWindowCompat

Helper for accessing features in PopupWindow.

PositionalDataSource

Position-based data loader for a fixed-size, countable data set, supporting fixed-size loads at arbitrary page positions.

PositionalDataSource.LoadInitialCallback

Callback for loadInitial(LoadInitialParams, LoadInitialCallback) to return data, position, and count.

PositionalDataSource.LoadInitialParams

Holder object for inputs to loadInitial(LoadInitialParams, LoadInitialCallback).

PositionalDataSource.LoadRangeCallback

Callback for PositionalDataSource loadRange(LoadRangeParams, LoadRangeCallback) to return data.

PositionalDataSource.LoadRangeParams

Holder object for inputs to loadRange(LoadRangeParams, LoadRangeCallback).

PostMessageService

A service to receive postMessage related communication from a Custom Tabs provider.

PostMessageServiceConnection

A ServiceConnection for Custom Tabs providers to use while connecting to a PostMessageService on the client side.

PrecomputedTextCompat

A text which has the character metrics data.

PrecomputedTextCompat.Params

The information required for building PrecomputedTextCompat.

PrecomputedTextCompat.Params.Builder

A builder for creating Params.

Preference

The basic building block that represents an individual setting displayed to a user in the preference hierarchy.

Preference.BaseSavedState

A base class for managing the instance state of a Preference.

Preference.OnPreferenceChangeListener

Interface definition for a callback to be invoked when the value of this Preference has been changed by the user and is about to be set and/or persisted.

Preference.OnPreferenceClickListener

Interface definition for a callback to be invoked when a Preference is clicked.

Preference.SummaryProvider

Interface definition for a callback to be invoked when the summary of this Preference is requested (typically when this preference is added to the hierarchy or its value is updated).

PreferenceCategory

A container that is used to group similar Preferences.

PreferenceDataStore

A data store interface to be implemented and provided to the Preference framework.

PreferenceDialogFragment

Abstract base class which presents a dialog associated with a DialogPreference.

PreferenceDialogFragmentCompat

Abstract base class which presents a dialog associated with a DialogPreference.

PreferenceFragment

Shows a hierarchy of Preference objects as lists.

PreferenceFragment.OnPreferenceDisplayDialogCallback

Interface that the fragment's containing activity should implement to be able to process preference items that wish to display a dialog.

PreferenceFragment.OnPreferenceStartFragmentCallback

Interface that the fragment's containing activity should implement to be able to process preference items that wish to switch to a specified fragment.

PreferenceFragment.OnPreferenceStartScreenCallback

Interface that the fragment's containing activity should implement to be able to process preference items that wish to switch to a new screen of preferences.

PreferenceFragmentCompat

A PreferenceFragmentCompat is the entry point to using the Preference library.

PreferenceFragmentCompat.OnPreferenceDisplayDialogCallback

Interface that the fragment's containing activity should implement to be able to process preference items that wish to display a dialog.

PreferenceFragmentCompat.OnPreferenceStartFragmentCallback

Interface that the fragment's containing activity should implement to be able to process preference items that wish to switch to a specified fragment.

PreferenceFragmentCompat.OnPreferenceStartScreenCallback

Interface that the fragment's containing activity should implement to be able to process preference items that wish to switch to a new screen of preferences.

PreferenceGroup

A container for multiple Preferences.

PreferenceGroup.PreferencePositionCallback

Interface for PreferenceGroup adapters to implement so that PreferenceFragmentCompat#scrollToPreference(String) and PreferenceFragmentCompat#scrollToPreference(Preference) can determine the correct scroll position to request.

PreferenceManager

Used to help create Preference hierarchies from activities or XML.

PreferenceManager.OnDisplayPreferenceDialogListener

Interface definition for a class that will be called when a Preference requests to display a dialog.

PreferenceManager.OnNavigateToScreenListener

Interface definition for a class that will be called when a PreferenceScreen requests navigation.

PreferenceManager.OnPreferenceTreeClickListener

Interface definition for a callback to be invoked when a Preference in the hierarchy rooted at this PreferenceScreen is clicked.

PreferenceManager.PreferenceComparisonCallback

Callback class to be used by the androidx.recyclerview.widget.RecyclerView.Adapter associated with the PreferenceScreen, used to determine when two Preference objects are semantically and visually the same.

PreferenceManager.SimplePreferenceComparisonCallback

A basic implementation of PreferenceComparisonCallback suitable for use with the default Preference classes.

PreferenceScreen

A top-level container that represents a settings screen.

PreferenceViewHolder

A RecyclerView.ViewHolder class which caches views associated with the default Preference layouts.

Presenter

A Presenter is used to generate Views and bind Objects to them on demand.

Presenter.ViewHolder

ViewHolder can be subclassed and used to cache any view accessors needed to improve binding performance (for example, results of findViewById) without needing to subclass a View.

Presenter.ViewHolderTask

Base class to perform a task on Presenter.

PresenterSelector

A PresenterSelector is used to obtain a Presenter for a given Object.

PresenterSwitcher

An abstract helper class that switches a view in its parent view using a PresenterSelector.

PreviewChannel

Since API 26, all TV apps may create preview channels and publish them to the home screen.

PreviewChannel.Builder

This builder makes it easy to create a PreviewChannel object by allowing you to chain setters.

PreviewChannelHelper

From a user's perspective, the TV home screen has two types of channels: the single Live Channels row versus the App preview Channels.

PreviewProgram

A convenience class to access PreviewPrograms entries in the system content provider.

PreviewProgram.Builder

This Builder class simplifies the creation of a PreviewProgram object.

PrimaryKey

Marks a field in an Entity as the primary key.

PrintHelper

Helper for printing bitmaps.

PrintHelper.OnPrintFinishCallback

Callback for observing when a print operation is completed.

ProcessLifecycleOwner

Class that provides lifecycle for the whole application process.

Program

A convenience class to access TvContractCompat.Programs entries in the system content provider.

Program.Builder

This Builder class simplifies the creation of a Program object.

ProgressBarManager

Manager for showing/hiding progress bar widget.

Px

Denotes that an integer parameter, field or method return value is expected to represent a pixel dimension.

Q

Query

Marks a method in a Dao annotated class as a query method.

Query

Encapsulates information related to calling ContentResolver#query, including the logic determining the best query method to call.

R

RadioButtonListItem

Class to build a list item with RadioButton.

RadioButtonListItem.ViewHolder

Holds views of RadioButtonListItem.

RangeBuilderDsl

Helper class annotated with @SliceMarker, which is annotated with @DslMarker.

Rating

An interface to encapsulate rating information used as content metadata.

RatingCompat

A class to encapsulate rating information used as content metadata.

RawQuery

Marks a method in a Dao annotated class as a raw query method where you can pass the query as a SupportSQLiteQuery.

RawRes

Denotes that an integer parameter, field or method return value is expected to be a raw resource reference.

ReceivedKeyedAppState

A keyed app state received from an app.

ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

The builder for ReceivedKeyedAppState.

RecommendationExtender

Helper class to add content info extensions to notifications.

RecyclerView

A flexible view for providing a limited window into a large data set.

RecyclerView.Adapter

Base class for an Adapter

RecyclerView.AdapterDataObserver

Observer base class for watching changes to an Adapter.

RecyclerView.ChildDrawingOrderCallback

A callback interface that can be used to alter the drawing order of RecyclerView children.

RecyclerView.EdgeEffectFactory

EdgeEffectFactory lets you customize the over-scroll edge effect for RecyclerViews.

RecyclerView.EdgeEffectFactory.EdgeDirection

RecyclerView.ItemAnimator

This class defines the animations that take place on items as changes are made to the adapter.

RecyclerView.ItemAnimator.AdapterChanges

The set of flags that might be passed to recordPreLayoutInformation(State, ViewHolder, int, List).

RecyclerView.ItemAnimator.ItemAnimatorFinishedListener

This interface is used to inform listeners when all pending or running animations in an ItemAnimator are finished.

RecyclerView.ItemAnimator.ItemHolderInfo

A simple data structure that holds information about an item's bounds.

RecyclerView.ItemDecoration

An ItemDecoration allows the application to add a special drawing and layout offset to specific item views from the adapter's data set.

RecyclerView.LayoutManager

A LayoutManager is responsible for measuring and positioning item views within a RecyclerView as well as determining the policy for when to recycle item views that are no longer visible to the user.

RecyclerView.LayoutManager.LayoutPrefetchRegistry

Interface for LayoutManagers to request items to be prefetched, based on position, with specified distance from viewport, which indicates priority.

RecyclerView.LayoutManager.Properties

Some general properties that a LayoutManager may want to use.

RecyclerView.LayoutParams

LayoutParams subclass for children of RecyclerView.

RecyclerView.OnChildAttachStateChangeListener

A Listener interface that can be attached to a RecylcerView to get notified whenever a ViewHolder is attached to or detached from RecyclerView.

RecyclerView.OnFlingListener

This class defines the behavior of fling if the developer wishes to handle it.

RecyclerView.OnItemTouchListener

An OnItemTouchListener allows the application to intercept touch events in progress at the view hierarchy level of the RecyclerView before those touch events are considered for RecyclerView's own scrolling behavior.

RecyclerView.OnScrollListener

An OnScrollListener can be added to a RecyclerView to receive messages when a scrolling event has occurred on that RecyclerView.

RecyclerView.RecycledViewPool

RecycledViewPool lets you share Views between multiple RecyclerViews.

RecyclerView.Recycler

A Recycler is responsible for managing scrapped or detached item views for reuse.

RecyclerView.RecyclerListener

A RecyclerListener can be set on a RecyclerView to receive messages whenever a view is recycled.

RecyclerView.SimpleOnItemTouchListener

An implementation of RecyclerView.OnItemTouchListener that has empty method bodies and default return values.

RecyclerView.SmoothScroller

Base class for smooth scrolling.

RecyclerView.SmoothScroller.Action

Holds information about a smooth scroll request by a SmoothScroller.

RecyclerView.SmoothScroller.ScrollVectorProvider

An interface which is optionally implemented by custom RecyclerView.LayoutManager to provide a hint to a SmoothScroller about the location of the target position.

RecyclerView.State

Contains useful information about the current RecyclerView state like target scroll position or view focus.

RecyclerView.ViewCacheExtension

ViewCacheExtension is a helper class to provide an additional layer of view caching that can be controlled by the developer.

RecyclerView.ViewHolder

A ViewHolder describes an item view and metadata about its place within the RecyclerView.

RecyclerViewAccessibilityDelegate

The AccessibilityDelegate used by RecyclerView.

RecyclerViewAccessibilityDelegate.ItemDelegate

The default implementation of accessibility delegate for the individual items of the RecyclerView.

RecyclerViewParallax

Implementation of Parallax class for RecyclerView.

RecyclerViewParallax.ChildPositionProperty

Subclass of Parallax.IntProperty.

Relation

A convenience annotation which can be used in a Pojo to automatically fetch relation entities.

RemoteActionCompat

Represents a remote action that can be called from another process.

RemoteCallable

Used to tag a method as callable using CallbackReceiver#createRemoteCallback.

RemoteCallback

An instance of a callback to a specific class/method with a specific set of arguments.

RemoteCallbackProcessor

Processes annotations from RemoteCallbacks.

RemoteInput

Helper for using the android.app.RemoteInput.

RemoteInput.Builder

Builder class for androidx.core.app.RemoteInput objects.

RemotePlaybackClient

A helper class for playing media on remote routes using the remote playback protocol defined by MediaControlIntent.

RemotePlaybackClient.ActionCallback

Base callback type for remote playback requests.

RemotePlaybackClient.ItemActionCallback

Callback for remote playback requests that operate on items.

RemotePlaybackClient.OnMessageReceivedListener

A callback that will receive messages from media sessions.

RemotePlaybackClient.SessionActionCallback

Callback for remote playback requests that operate on sessions.

RemotePlaybackClient.StatusCallback

A callback that will receive media status updates.

RequiresApi

Denotes that the annotated element should only be called on the given API level or higher.

RequiresFeature

Denotes that the annotated element requires one or more features.

RequiresPermission

Denotes that the annotated element requires (or may require) one or more permissions.

RequiresPermission.Read

Specifies that the given permission is required for read operations.

RequiresPermission.Write

Specifies that the given permission is required for write operations.

ResolvableFuture

An AndroidX version of Guava's SettableFuture.

ResourceCursorAdapter

Static library support version of the framework's android.widget.ResourceCursorAdapter.

ResourcesCompat

Helper for accessing features in android.content.res.Resources.

ResourcesCompat.FontCallback

Interface used to receive asynchronous font fetching events.

RestrictTo

Denotes that the annotated element should only be accessed from within a specific scope (as defined by Scope).

RestrictTo.Scope

RichText

A RichText is an immutable sequence of graphic elements (e.g.: text, images) to be displayed one after another.

RichText.Builder

Builder for creating a RichText

RichTextElement

An item in a RichText sequence, acting as a union of different graphic elements that can be displayed one after another.

RichTextElement.Builder

Builder for creating a RichTextElement

Room

Utility class for Room.

RoomDatabase

Base class for all Room databases.

RoomDatabase.Builder

Builder for RoomDatabase.

RoomDatabase.Callback

Callback for RoomDatabase.

RoomDatabase.JournalMode

Journal modes for SQLite database.

RoomDatabase.MigrationContainer

A container to hold migrations.

RoomWarnings

The list of warnings that are produced by Room.

RoundedBitmapDrawable

A Drawable that wraps a bitmap and can be drawn with rounded corners.

RoundedBitmapDrawableFactory

Constructs RoundedBitmapDrawable objects, either from Bitmaps directly, or from streams and files.

RoundedDrawable

Maintains and draws a drawable inside rounded rectangular bounds.

Row

The base class for all rows.

RowBuilderDsl

Helper class annotated with @SliceMarker, which is annotated with @DslMarker.

RowHeaderPresenter

RowHeaderPresenter provides a default presentation for HeaderItem using a RowHeaderView and optionally a TextView for description.

RowHeaderPresenter.ViewHolder

A ViewHolder for the RowHeaderPresenter.

RowHeaderView

RowHeaderView is a header text view.

RowPresenter

An abstract Presenter that renders an Object in RowsFragment, the object can be subclass Row or a generic one.