Skip to content

Commit f898b0b

Browse files
committed
Removed the empty fragment when the back button is pressed. (BUGFIX)
1 parent 1957c64 commit f898b0b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

simplefileexplorer/src/main/java/com/example/simplefileexplorer/SimpleFileExplorerActivity.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import android.content.Intent;
66
import android.content.pm.PackageManager;
77
import android.os.Environment;
8-
import android.support.v4.app.FragmentManager;
8+
import android.support.v4.app.Fragment;
99
import android.support.v4.content.ContextCompat;
1010
import android.support.v7.app.AppCompatActivity;
1111
import android.os.Bundle;
@@ -14,6 +14,9 @@
1414
import android.widget.ImageView;
1515
import android.widget.Toast;
1616

17+
import java.util.List;
18+
19+
1720
public class SimpleFileExplorerActivity extends AppCompatActivity implements ActivityListener{
1821

1922

0 commit comments

Comments
 (0)