mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Fix memory leak in CategoryDetailsActivity (#1792)
This commit is contained in:
parent
33995764ff
commit
b9274c0335
1 changed files with 1 additions and 4 deletions
|
|
@ -263,10 +263,7 @@ public class CategoryImagesListFragment extends DaggerFragment {
|
||||||
* @return GridView Adapter
|
* @return GridView Adapter
|
||||||
*/
|
*/
|
||||||
public ListAdapter getAdapter() {
|
public ListAdapter getAdapter() {
|
||||||
if(gridView == null) {
|
return gridAdapter;
|
||||||
return null;
|
|
||||||
}
|
|
||||||
return gridView.getAdapter();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue