public void reset ( ) { fileLink = null ; formFragment = new FormFragment ( ) ; getSupportFragmentManager ( ) . beginTransaction ( ) . replace ( R . id . root , formFragment ) . commit ( ) ; }
Remove the complete fragment and show an empty form fragment