mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Displays categories in CategorizationFragment.java
This commit is contained in:
parent
7034f628de
commit
8c979cf751
2 changed files with 4 additions and 2 deletions
|
|
@ -156,10 +156,12 @@ public class CategorizationFragment extends SherlockFragment{
|
|||
|
||||
if (MwVolleyApi.gpsCatExists){
|
||||
Log.d("Cat", "GPS cats found in CategorizationFragment.java" + MwVolleyApi.getGpsCat().toString());
|
||||
ArrayList<String> gpsItems = new ArrayList<String>();
|
||||
ArrayList<String> gpsItems = new ArrayList<String>(MwVolleyApi.getGpsCat());
|
||||
Log.d("Cat", "GPS items: " + gpsItems.toString());
|
||||
|
||||
mergedItems.addAll(items);
|
||||
mergedItems.addAll(gpsItems);
|
||||
Log.d("Cat", "Merged items: " + mergedItems.toString());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ public class UploadController {
|
|||
@Override
|
||||
protected void onPostExecute(Contribution contribution) {
|
||||
super.onPostExecute(contribution);
|
||||
uploadService.queue(UploadService.ACTION_UPLOAD_FILE, contribution);
|
||||
//uploadService.queue(UploadService.ACTION_UPLOAD_FILE, contribution);
|
||||
onComplete.onUploadStarted(contribution);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue