public void onBackPressed(PopParams popParams){
  Log.v(TAG,String.format("onBackPressed(): fragment[%s], animate[%b]",mContentFragment != null ? mContentFragment.getName() : null,popParams.isAnimate()));
  if (mContentFragment != null) {
    mContentFragment.onBackPressed(popParams);
  }
}

public void onBackPressed ( PopParams popParams ) { Log . v ( TAG , String . format ( "onBackPressed(): fragment[%s], animate[%b]" , mContentFragment != null ? mContentFragment . getName ( ) : null , popParams . isAnimate ( ) ) ) ; if ( mContentFragment != null ) { mContentFragment . onBackPressed ( popParams ) ; } }
method must be called by holding activity in its onbackpressed ( ) method . method pops current fragment .
