Merge pull request #1562 from ujjwalagrawal17/featured_image_bug

Fixes #1518  (fixed Featured image back button bug)
This commit is contained in:
neslihanturan 2018-05-29 10:35:16 +03:00 committed by GitHub
commit 2bd3c318f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,4 +224,14 @@ public class CategoryImagesListFragment extends DaggerFragment {
public ListAdapter getAdapter() {
return gridView.getAdapter();
}
/**
* This method will be called on back pressed of CategoryImagesActivity.
* It initializes the grid view by setting adapter.
\ */
@Override
public void onResume() {
gridView.setAdapter(gridAdapter);
super.onResume();
}
}