Code example for FragmentActivity

Methods: onBackPressed

0
    @Override 
    public void onBackPressed() { 
        if (LOG) {
            Log.d(TAG, LogUtils.getClassFileLineMethod(getClass().getSimpleName()));
        } 
        super.onBackPressed(); 
    } 
 
    @Override 
    public void finish() { 
        if (LOG) {
            Log.d(TAG, LogUtils.getClassFileLineMethod(getClass().getSimpleName()));
        } 
        super.finish(); 
    } 
 
    @Override 
    protected void onPause() { 
        if (LOG) {
            Log.d(TAG, LogUtils.getClassFileLineMethod(getClass().getSimpleName()));
        }