Skip to content

Commit

Permalink
Merge pull request #275 from zhudongya123/master
Browse files Browse the repository at this point in the history
Fix the photo grid invisible after activity restart.
  • Loading branch information
donglua authored Dec 4, 2018
2 parents b56e93b + d99e14a commit 1d5af97
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public PhotoDirLoaderCallbacks(Context context, PhotosResultCallback resultCallb
photoDirectoryAll.setName(context.getString(R.string.__picker_all_image));
photoDirectoryAll.setId("ALL");

data.moveToFirst();

while (data.moveToNext()) {

int imageId = data.getInt(data.getColumnIndexOrThrow(_ID));
Expand Down

0 comments on commit 1d5af97

Please sign in to comment.