Deprecated API


Contents
Deprecated Fields
android.support.v4.widget.CursorAdapter.FLAG_AUTO_REQUERY
          This option is discouraged, as it results in Cursor queries being performed on the application's UI thread and thus can cause poor responsiveness or even Application Not Responding errors. As an alternative, use LoaderManager with a CursorLoader. 
android.support.v4.app.NotificationCompat.FLAG_HIGH_PRIORITY
          Use NotificationCompat.Builder.setPriority(int) with a positive value. 
 

Deprecated Methods
android.support.v4.widget.SlidingPaneLayout.canSlide()
          Renamed to SlidingPaneLayout.isSlideable() - this method is going away soon! 
android.support.v4.view.PagerAdapter.destroyItem(View, int, Object)
          Use PagerAdapter.destroyItem(ViewGroup, int, Object) 
android.support.v4.view.PagerAdapter.finishUpdate(View)
          Use PagerAdapter.finishUpdate(ViewGroup) 
android.support.v4.app.TaskStackBuilder.from(Context)
          use TaskStackBuilder.create(Context) instead 
android.support.v4.view.accessibility.AccessibilityRecordCompat.getImpl()
          This method will be removed in a subsequent release of the support library. 
android.support.v4.app.TaskStackBuilder.getIntent(int)
          Renamed to editIntentAt to better reflect intended usage 
android.support.v4.app.NotificationCompat.Builder.getNotification()
          Use NotificationCompat.Builder.build() instead. 
android.support.v4.widget.CursorAdapter.init(Context, Cursor, boolean)
          Don't use this, use the normal constructor. This will be removed in the future. 
android.support.v4.view.PagerAdapter.instantiateItem(View, int)
          Use PagerAdapter.instantiateItem(ViewGroup, int) 
android.support.v4.app.TaskStackBuilder.iterator()
          Use editIntentAt instead 
android.support.v4.app.FragmentManager.openTransaction()
           
android.support.v4.view.PagerAdapter.setPrimaryItem(View, int, Object)
          Use PagerAdapter.setPrimaryItem(ViewGroup, int, Object) 
android.support.v4.view.MenuCompat.setShowAsAction(MenuItem, int)
          Use MenuItemCompat.setShowAsAction(MenuItem, int) 
android.support.v4.app.FragmentTabHost.setup()
          Don't call the original TabHost setup, you must instead call FragmentTabHost.setup(Context, FragmentManager) or FragmentTabHost.setup(Context, FragmentManager, int). 
android.support.v4.widget.SlidingPaneLayout.smoothSlideClosed()
          Renamed to SlidingPaneLayout.closePane() - this method is going away soon! 
android.support.v4.widget.SlidingPaneLayout.smoothSlideOpen()
          Renamed to SlidingPaneLayout.openPane() - this method is going away soon! 
android.support.v4.view.PagerAdapter.startUpdate(View)
          Use PagerAdapter.startUpdate(ViewGroup) 
 

Deprecated Constructors
android.support.v4.view.accessibility.AccessibilityRecordCompat(Object)
          This is not type safe. If you want to modify an AccessibilityEvent's properties defined in AccessibilityRecord use AccessibilityEventCompat.asRecord(AccessibilityEvent). This method will be removed in a subsequent release of the support library. 
android.support.v4.widget.CursorAdapter(Context, Cursor)
          This option is discouraged, as it results in Cursor queries being performed on the application's UI thread and thus can cause poor responsiveness or even Application Not Responding errors. As an alternative, use LoaderManager with a CursorLoader. 
android.support.v4.widget.ResourceCursorAdapter(Context, int, Cursor)
          This option is discouraged, as it results in Cursor queries being performed on the application's UI thread and thus can cause poor responsiveness or even Application Not Responding errors. As an alternative, use LoaderManager with a CursorLoader. 
android.support.v4.widget.SimpleCursorAdapter(Context, int, Cursor, String[], int[])
          This option is discouraged, as it results in Cursor queries being performed on the application's UI thread and thus can cause poor responsiveness or even Application Not Responding errors. As an alternative, use LoaderManager with a CursorLoader.