mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
CategorizationFragment displays cached categories
This commit is contained in:
parent
2384733934
commit
ab7db68d6c
1 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,6 @@ public class MwVolleyApi {
|
|||
|
||||
//To get the list of categories for display
|
||||
public static List<String> getGpsCat() {
|
||||
categoryList = new ArrayList<String>(categorySet);
|
||||
return categoryList;
|
||||
}
|
||||
|
||||
|
|
@ -181,6 +180,7 @@ public class MwVolleyApi {
|
|||
Log.d(TAG, "gpsCatExists=" + GpsCatExists.getGpsCatExists());
|
||||
return "CATEGORIES FOUND" + categorySet.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -235,6 +235,7 @@ public class MwVolleyApi {
|
|||
}
|
||||
}
|
||||
|
||||
categoryList = new ArrayList<String>(categorySet);
|
||||
builder.replace(builder.length() - 1, builder.length(), "");
|
||||
return builder.toString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue