We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db94d18 commit 423234aCopy full SHA for 423234a
app/src/main/java/videoeditor/bhuvnesh/com/ffmpegvideoeditor/activity/PreviewImageActivity.java
@@ -46,13 +46,14 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
46
tvInstruction.setText("Images stored at path "+filePath);
47
File[] listFile;
48
49
- listFile = dir.listFiles();
+ listFile = dir.listFiles();
50
51
-
52
53
- for(File e:listFile)
+ if(listFile != null)
54
{
55
- f.add(e.getAbsolutePath());
+ for(File e:listFile)
+ {
+ f.add(e.getAbsolutePath());
56
+ }
57
}
58
59
PreviewImageAdapter rcAdapter = new PreviewImageAdapter( f);
0 commit comments