mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +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
|
//To get the list of categories for display
|
||||||
public static List<String> getGpsCat() {
|
public static List<String> getGpsCat() {
|
||||||
categoryList = new ArrayList<String>(categorySet);
|
|
||||||
return categoryList;
|
return categoryList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -181,6 +180,7 @@ public class MwVolleyApi {
|
||||||
Log.d(TAG, "gpsCatExists=" + GpsCatExists.getGpsCatExists());
|
Log.d(TAG, "gpsCatExists=" + GpsCatExists.getGpsCatExists());
|
||||||
return "CATEGORIES FOUND" + categorySet.toString();
|
return "CATEGORIES FOUND" + categorySet.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
@ -235,6 +235,7 @@ public class MwVolleyApi {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
categoryList = new ArrayList<String>(categorySet);
|
||||||
builder.replace(builder.length() - 1, builder.length(), "");
|
builder.replace(builder.length() - 1, builder.length(), "");
|
||||||
return builder.toString();
|
return builder.toString();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue