文本文件  |  75行  |  4.27 KB

package androidx.legacy.app {

  public deprecated class ActivityCompat extends androidx.core.app.ActivityCompat {
    ctor protected deprecated ActivityCompat();
  }

  public deprecated class FragmentCompat {
    ctor public deprecated FragmentCompat();
    method public static deprecated void requestPermissions(android.app.Fragment, java.lang.String[], int);
    method public static deprecated void setMenuVisibility(android.app.Fragment, boolean);
    method public static deprecated void setPermissionCompatDelegate(androidx.legacy.app.FragmentCompat.PermissionCompatDelegate);
    method public static deprecated void setUserVisibleHint(android.app.Fragment, boolean);
    method public static deprecated boolean shouldShowRequestPermissionRationale(android.app.Fragment, java.lang.String);
  }

  public static abstract deprecated interface FragmentCompat.OnRequestPermissionsResultCallback {
    method public abstract deprecated void onRequestPermissionsResult(int, java.lang.String[], int[]);
  }

  public static abstract deprecated interface FragmentCompat.PermissionCompatDelegate {
    method public abstract deprecated boolean requestPermissions(android.app.Fragment, java.lang.String[], int);
  }

  public abstract deprecated class FragmentPagerAdapter extends androidx.viewpager.widget.PagerAdapter {
    ctor public deprecated FragmentPagerAdapter(android.app.FragmentManager);
    method public deprecated void destroyItem(android.view.ViewGroup, int, java.lang.Object);
    method public deprecated void finishUpdate(android.view.ViewGroup);
    method public abstract deprecated android.app.Fragment getItem(int);
    method public deprecated long getItemId(int);
    method public deprecated java.lang.Object instantiateItem(android.view.ViewGroup, int);
    method public deprecated boolean isViewFromObject(android.view.View, java.lang.Object);
    method public deprecated void restoreState(android.os.Parcelable, java.lang.ClassLoader);
    method public deprecated android.os.Parcelable saveState();
    method public deprecated void setPrimaryItem(android.view.ViewGroup, int, java.lang.Object);
    method public deprecated void startUpdate(android.view.ViewGroup);
  }

  public abstract deprecated class FragmentStatePagerAdapter extends androidx.viewpager.widget.PagerAdapter {
    ctor public deprecated FragmentStatePagerAdapter(android.app.FragmentManager);
    method public deprecated void destroyItem(android.view.ViewGroup, int, java.lang.Object);
    method public deprecated void finishUpdate(android.view.ViewGroup);
    method public abstract deprecated android.app.Fragment getItem(int);
    method public deprecated java.lang.Object instantiateItem(android.view.ViewGroup, int);
    method public deprecated boolean isViewFromObject(android.view.View, java.lang.Object);
    method public deprecated void restoreState(android.os.Parcelable, java.lang.ClassLoader);
    method public deprecated android.os.Parcelable saveState();
    method public deprecated void setPrimaryItem(android.view.ViewGroup, int, java.lang.Object);
    method public deprecated void startUpdate(android.view.ViewGroup);
  }

  public deprecated class FragmentTabHost extends android.widget.TabHost implements android.widget.TabHost.OnTabChangeListener {
    ctor public deprecated FragmentTabHost(android.content.Context);
    ctor public deprecated FragmentTabHost(android.content.Context, android.util.AttributeSet);
    method public deprecated void addTab(android.widget.TabHost.TabSpec, java.lang.Class<?>, android.os.Bundle);
    method protected deprecated void onAttachedToWindow();
    method protected deprecated void onDetachedFromWindow();
    method protected deprecated void onRestoreInstanceState(android.os.Parcelable);
    method protected deprecated android.os.Parcelable onSaveInstanceState();
    method public deprecated void onTabChanged(java.lang.String);
    method public deprecated void setOnTabChangedListener(android.widget.TabHost.OnTabChangeListener);
    method public deprecated void setup();
    method public deprecated void setup(android.content.Context, android.app.FragmentManager);
    method public deprecated void setup(android.content.Context, android.app.FragmentManager, int);
  }

}

package androidx.legacy.view {

  public deprecated class ViewCompat extends androidx.core.view.ViewCompat {
  }

}