mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Merge pull request #1562 from ujjwalagrawal17/featured_image_bug
Fixes #1518 (fixed Featured image back button bug)
This commit is contained in:
commit
2bd3c318f9
1 changed files with 10 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue