to top
Android APIs
package

android.support.v4.view

Support android.util classes to assist with development of applications for android API level 4 or later. The main features here are a variety of classes for handling backwards compatibility with views (for example MotionEventCompat allows retrieving multi-touch data if available), and a new ViewPager widget (which at some point should be moved over to the widget package).

Interfaces

ViewPager.OnPageChangeListener Callback interface for responding to changing state of the selected page. 
ViewPager.PageTransformer A PageTransformer is invoked whenever a visible/attached page is scrolled. 

Classes

AccessibilityDelegateCompat Helper for accessing View.AccessibilityDelegate introduced after API level 4 in a backwards compatible fashion. 
GestureDetectorCompat Detects various gestures and events using the supplied MotionEvents. 
KeyEventCompat Helper for accessing features in KeyEvent introduced after API level 4 in a backwards compatible fashion. 
MenuCompat Helper for accessing features in Menu introduced after API level 4 in a backwards compatible fashion. 
MenuItemCompat Helper for accessing features in MenuItem introduced after API level 4 in a backwards compatible fashion. 
MotionEventCompat Helper for accessing features in MotionEvent introduced after API level 4 in a backwards compatible fashion. 
PagerAdapter Base class providing the adapter to populate pages inside of a ViewPager
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
VelocityTrackerCompat Helper for accessing features in VelocityTracker introduced after API level 4 in a backwards compatible fashion. 
ViewCompat Helper for accessing features in View introduced after API level 4 in a backwards compatible fashion. 
ViewCompatJB Jellybean-specific View API access  
ViewCompatJellybeanMr1 Jellybean MR1 - specific View API access. 
ViewConfigurationCompat Helper for accessing features in ViewConfiguration introduced after API level 4 in a backwards compatible fashion. 
ViewGroupCompat Helper for accessing features in ViewGroup introduced after API level 4 in a backwards compatible fashion. 
ViewPager Layout manager that allows the user to flip left and right through pages of data. 
ViewPager.LayoutParams Layout parameters that should be supplied for views added to a ViewPager. 
ViewPager.SavedState This is the persistent state that is saved by ViewPager. 
ViewPager.SimpleOnPageChangeListener Simple implementation of the ViewPager.OnPageChangeListener interface with stub implementations of each method.