public void dump(String prefix,FileDescriptor fd,PrintWriter writer,String[] args){
  writer.print(prefix);
  writer.print("mFragmentId=#");
  writer.print(Integer.toHexString(mFragmentId));
  writer.print(" mContainerId=#");
  writer.print(Integer.toHexString(mContainerId));
  writer.print(" mTag=");
  writer.println(mTag);
  writer.print(prefix);
  writer.print("mState=");
  writer.print(mState);
  writer.print(" mIndex=");
  writer.print(mIndex);
  writer.print(" mWho=");
  writer.print(mWho);
  writer.print(" mBackStackNesting=");
  writer.println(mBackStackNesting);
  writer.print(prefix);
  writer.print("mAdded=");
  writer.print(mAdded);
  writer.print(" mRemoving=");
  writer.print(mRemoving);
  writer.print(" mResumed=");
  writer.print(mResumed);
  writer.print(" mFromLayout=");
  writer.print(mFromLayout);
  writer.print(" mInLayout=");
  writer.println(mInLayout);
  writer.print(prefix);
  writer.print("mHidden=");
  writer.print(mHidden);
  writer.print(" mDetached=");
  writer.print(mDetached);
  writer.print(" mMenuVisible=");
  writer.print(mMenuVisible);
  writer.print(" mHasMenu=");
  writer.println(mHasMenu);
  writer.print(prefix);
  writer.print("mRetainInstance=");
  writer.print(mRetainInstance);
  writer.print(" mRetaining=");
  writer.print(mRetaining);
  writer.print(" mUserVisibleHint=");
  writer.println(mUserVisibleHint);
  if (mFragmentManager != null) {
    writer.print(prefix);
    writer.print("mFragmentManager=");
    writer.println(mFragmentManager);
  }
  if (mActivity != null) {
    writer.print(prefix);
    writer.print("mActivity=");
    writer.println(mActivity);
  }
  if (mParentFragment != null) {
    writer.print(prefix);
    writer.print("mParentFragment=");
    writer.println(mParentFragment);
  }
  if (mArguments != null) {
    writer.print(prefix);
    writer.print("mArguments=");
    writer.println(mArguments);
  }
  if (mSavedFragmentState != null) {
    writer.print(prefix);
    writer.print("mSavedFragmentState=");
    writer.println(mSavedFragmentState);
  }
  if (mSavedViewState != null) {
    writer.print(prefix);
    writer.print("mSavedViewState=");
    writer.println(mSavedViewState);
  }
  if (mTarget != null) {
    writer.print(prefix);
    writer.print("mTarget=");
    writer.print(mTarget);
    writer.print(" mTargetRequestCode=");
    writer.println(mTargetRequestCode);
  }
  if (mNextAnim != 0) {
    writer.print(prefix);
    writer.print("mNextAnim=");
    writer.println(mNextAnim);
  }
  if (mContainer != null) {
    writer.print(prefix);
    writer.print("mContainer=");
    writer.println(mContainer);
  }
  if (mView != null) {
    writer.print(prefix);
    writer.print("mView=");
    writer.println(mView);
  }
  if (mInnerView != null) {
    writer.print(prefix);
    writer.print("mInnerView=");
    writer.println(mView);
  }
  if (mAnimatingAway != null) {
    writer.print(prefix);
    writer.print("mAnimatingAway=");
    writer.println(mAnimatingAway);
    writer.print(prefix);
    writer.print("mStateAfterAnimating=");
    writer.println(mStateAfterAnimating);
  }
  if (mLoaderManager != null) {
    writer.print(prefix);
    writer.println("Loader Manager:");
    mLoaderManager.dump(prefix + "  ",fd,writer,args);
  }
  if (mChildFragmentManager != null) {
    writer.print(prefix);
    writer.println("Child " + mChildFragmentManager + ":");
    mChildFragmentManager.dump(prefix + "  ",fd,writer,args);
  }
}

public void dump ( String prefix , FileDescriptor fd , PrintWriter writer , String [ ] args ) { writer . print ( prefix ) ; writer . print ( "mFragmentId=#" ) ; writer . print ( Integer . toHexString ( mFragmentId ) ) ; writer . print ( " mContainerId=#" ) ; writer . print ( Integer . toHexString ( mContainerId ) ) ; writer . print ( " mTag=" ) ; writer . println ( mTag ) ; writer . print ( prefix ) ; writer . print ( "mState=" ) ; writer . print ( mState ) ; writer . print ( " mIndex=" ) ; writer . print ( mIndex ) ; writer . print ( " mWho=" ) ; writer . print ( mWho ) ; writer . print ( " mBackStackNesting=" ) ; writer . println ( mBackStackNesting ) ; writer . print ( prefix ) ; writer . print ( "mAdded=" ) ; writer . print ( mAdded ) ; writer . print ( " mRemoving=" ) ; writer . print ( mRemoving ) ; writer . print ( " mResumed=" ) ; writer . print ( mResumed ) ; writer . print ( " mFromLayout=" ) ; writer . print ( mFromLayout ) ; writer . print ( " mInLayout=" ) ; writer . println ( mInLayout ) ; writer . print ( prefix ) ; writer . print ( "mHidden=" ) ; writer . print ( mHidden ) ; writer . print ( " mDetached=" ) ; writer . print ( mDetached ) ; writer . print ( " mMenuVisible=" ) ; writer . print ( mMenuVisible ) ; writer . print ( " mHasMenu=" ) ; writer . println ( mHasMenu ) ; writer . print ( prefix ) ; writer . print ( "mRetainInstance=" ) ; writer . print ( mRetainInstance ) ; writer . print ( " mRetaining=" ) ; writer . print ( mRetaining ) ; writer . print ( " mUserVisibleHint=" ) ; writer . println ( mUserVisibleHint ) ; if ( mFragmentManager != null ) { writer . print ( prefix ) ; writer . print ( "mFragmentManager=" ) ; writer . println ( mFragmentManager ) ; } if ( mActivity != null ) { writer . print ( prefix ) ; writer . print ( "mActivity=" ) ; writer . println ( mActivity ) ; } if ( mParentFragment != null ) { writer . print ( prefix ) ; writer . print ( "mParentFragment=" ) ; writer . println ( mParentFragment ) ; } if ( mArguments != null ) { writer . print ( prefix ) ; writer . print ( "mArguments=" ) ; writer . println ( mArguments ) ; } if ( mSavedFragmentState != null ) { writer . print ( prefix ) ; writer . print ( "mSavedFragmentState=" ) ; writer . println ( mSavedFragmentState ) ; } if ( mSavedViewState != null ) { writer . print ( prefix ) ; writer . print ( "mSavedViewState=" ) ; writer . println ( mSavedViewState ) ; } if ( mTarget != null ) { writer . print ( prefix ) ; writer . print ( "mTarget=" ) ; writer . print ( mTarget ) ; writer . print ( " mTargetRequestCode=" ) ; writer . println ( mTargetRequestCode ) ; } if ( mNextAnim != 0 ) { writer . print ( prefix ) ; writer . print ( "mNextAnim=" ) ; writer . println ( mNextAnim ) ; } if ( mContainer != null ) { writer . print ( prefix ) ; writer . print ( "mContainer=" ) ; writer . println ( mContainer ) ; } if ( mView != null ) { writer . print ( prefix ) ; writer . print ( "mView=" ) ; writer . println ( mView ) ; } if ( mInnerView != null ) { writer . print ( prefix ) ; writer . print ( "mInnerView=" ) ; writer . println ( mView ) ; } if ( mAnimatingAway != null ) { writer . print ( prefix ) ; writer . print ( "mAnimatingAway=" ) ; writer . println ( mAnimatingAway ) ; writer . print ( prefix ) ; writer . print ( "mStateAfterAnimating=" ) ; writer . println ( mStateAfterAnimating ) ; } if ( mLoaderManager != null ) { writer . print ( prefix ) ; writer . println ( "Loader Manager:" ) ; mLoaderManager . dump ( prefix + "  " , fd , writer , args ) ; } if ( mChildFragmentManager != null ) { writer . print ( prefix ) ; writer . println ( "Child " + mChildFragmentManager + ":" ) ; mChildFragmentManager . dump ( prefix + "  " , fd , writer , args ) ; } }
print the fragments ' s state into the given stream .
