Skip to content

Most visited

Recently visited

navigation

android.support.v4.widget

Support android.widget classes to assist with development of applications for android API level 4 or later. This includes a complete modern implementation of CursorAdapter and related classes, which is needed for use with CursorLoader.

Interfaces

DrawerLayout.DrawerListener Listener for monitoring events about drawers. 
NestedScrollView.OnScrollChangeListener Interface definition for a callback to be invoked when the scroll X or Y positions of a view change. 
SearchViewCompat.OnCloseListener Callback for closing the query UI. 
SearchViewCompat.OnQueryTextListener Callbacks for changes to the query text. 
SimpleCursorAdapter.CursorToStringConverter This class can be used by external clients of SimpleCursorAdapter to define how the Cursor should be converted to a String. 
SimpleCursorAdapter.ViewBinder This class can be used by external clients of SimpleCursorAdapter to bind values fom the Cursor to views. 
SlidingPaneLayout.PanelSlideListener Listener for monitoring events about sliding panes. 
SwipeRefreshLayout.OnChildScrollUpCallback Classes that wish to override canChildScrollUp() method behavior should implement this interface. 
SwipeRefreshLayout.OnRefreshListener Classes that wish to be notified when the swipe gesture correctly triggers a refresh should implement this interface. 
TintableCompoundButton Interface which allows a CompoundButton to receive tinting calls from CompoundButtonCompat when running on API v20 devices or lower. 

Classes

AutoScrollHelper AutoScrollHelper is a utility class for adding automatic edge-triggered scrolling to Views. 
CompoundButtonCompat Helper for accessing CompoundButton methods introduced after API level 4 in a backwards compatible fashion. 
ContentLoadingProgressBar ContentLoadingProgressBar implements a ProgressBar that waits a minimum time to be dismissed before showing. 
CursorAdapter Static library support version of the framework's CursorAdapter
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.LayoutParams  
DrawerLayout.SavedState State persisted across instances  
DrawerLayout.SimpleDrawerListener Stub/no-op implementations of all methods of DrawerLayout.DrawerListener
EdgeEffectCompat Helper for accessing EdgeEffect introduced after API level 4 in a backwards compatible fashion. 
ExploreByTouchHelper ExploreByTouchHelper is a utility class for implementing accessibility support in custom Views that represent a collection of View-like logical items. 
ListPopupWindowCompat Helper for accessing features in ListPopupWindow introduced after API level 4 in a backwards compatible fashion. 
ListViewAutoScrollHelper An implementation of AutoScrollHelper that knows how to scroll through a ListView
ListViewCompat Helper for accessing features in ListView introduced after API level 4 in a backwards compatible fashion. 
NestedScrollView NestedScrollView is just like ScrollView, but it supports acting as both a nested scrolling parent and child on both new and old versions of Android. 
PopupMenuCompat Helper for accessing features in PopupMenu introduced after API level 4 in a backwards compatible fashion. 
PopupWindowCompat Helper for accessing features in PopupWindow introduced after API level 4 in a backwards compatible fashion. 
ResourceCursorAdapter Static library support version of the framework's ResourceCursorAdapter
ScrollerCompat Provides access to new Scroller APIs when available. 
SearchViewCompat Helper for accessing features in SearchView introduced after API level 4 in a backwards compatible fashion. 
SearchViewCompat.OnCloseListenerCompat This class is deprecated. Use SearchViewCompat.OnCloseListener instead.  
SearchViewCompat.OnQueryTextListenerCompat This class is deprecated. Use SearchViewCompat.OnQueryTextListener instead.  
SimpleCursorAdapter Static library support version of the framework's SimpleCursorAdapter
SlidingPaneLayout SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level of a UI. 
SlidingPaneLayout.LayoutParams  
SlidingPaneLayout.SimplePanelSlideListener No-op stubs for SlidingPaneLayout.PanelSlideListener
Space Space is a lightweight View subclass that may be used to create gaps between components in general purpose layouts. 
SwipeRefreshLayout The SwipeRefreshLayout should be used whenever the user can refresh the contents of a view via a vertical swipe gesture. 
TextViewCompat Helper for accessing features in TextView introduced after API level 4 in a backwards compatible fashion. 
ViewDragHelper ViewDragHelper is a utility class for writing custom ViewGroups. 
ViewDragHelper.Callback A Callback is used as a communication channel with the ViewDragHelper back to the parent view using it. 
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.