Tasks/src/tablet/java/com/dummies/tasks/tablet/activity/TaskListAndEditorActivity.java
@Override
    public void finishEditingTask() {
        FragmentManager fm = getFragmentManager();
        FragmentTransaction transaction = fm
                .beginTransaction();

        // Find the edit fragment, and remove it from the activity.
        Fragment previousFragment = fm
                .findFragmentByTag(
                    TaskEditFragment.DEFAULT_FRAGMENT_TAG);
        transaction.remove(previousFragment);

        transaction.commit();
    }
/**
     * Called when the user finishes editing a task.
     */
Called when the user finishes editing a task.
Called when the user finishes editing a task .
@Override
    public void finishEditingTask() {
        FragmentManager fm = getFragmentManager();
        FragmentTransaction transaction = fm
                .beginTransaction();
        Fragment previousFragment = fm
                .findFragmentByTag(
                    TaskEditFragment.DEFAULT_FRAGMENT_TAG);
        transaction.remove(previousFragment);
        transaction.commit();
    }
@ Override public void finishEditingTask ( ) { FragmentManager fm = getFragmentManager ( ) ; FragmentTransaction transaction = fm . beginTransaction ( ) ; Fragment previousFragment = fm . findFragmentByTag ( TaskEditFragment . DEFAULT_FRAGMENT_TAG ) ; transaction . remove ( previousFragment ) ; transaction . commit ( ) ; }
Called when the user finishes editing a task.
Called when the user finishes editing a task .
// Find the edit fragment, and remove it from the activity.