mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Debugging stuff, revert later
This commit is contained in:
parent
d73cbc3eb8
commit
9756513a89
3 changed files with 7 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ import android.os.*;
|
||||||
import android.text.Editable;
|
import android.text.Editable;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.text.TextWatcher;
|
import android.text.TextWatcher;
|
||||||
|
import android.util.Log;
|
||||||
import android.view.*;
|
import android.view.*;
|
||||||
import android.widget.*;
|
import android.widget.*;
|
||||||
import com.actionbarsherlock.app.SherlockFragment;
|
import com.actionbarsherlock.app.SherlockFragment;
|
||||||
|
|
@ -112,6 +113,10 @@ public class CategorizationFragment extends SherlockFragment{
|
||||||
items.add(new CategoryItem(category, false));
|
items.add(new CategoryItem(category, false));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: Remove this later
|
||||||
|
Log.d("Cat", "I am still called when upload is commented out");
|
||||||
|
|
||||||
categoriesAdapter.setItems(items);
|
categoriesAdapter.setItems(items);
|
||||||
categoriesAdapter.notifyDataSetInvalidated();
|
categoriesAdapter.notifyDataSetInvalidated();
|
||||||
categoriesSearchInProgress.setVisibility(View.GONE);
|
categoriesSearchInProgress.setVisibility(View.GONE);
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ public class MwVolleyApi {
|
||||||
private Context context;
|
private Context context;
|
||||||
|
|
||||||
protected static HashSet<String> categorySet;
|
protected static HashSet<String> categorySet;
|
||||||
|
|
||||||
//To check later on whether any nearby categories were found
|
//To check later on whether any nearby categories were found
|
||||||
public static boolean gpsCatExists;
|
public static boolean gpsCatExists;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@ public class UploadController {
|
||||||
@Override
|
@Override
|
||||||
protected void onPostExecute(Contribution contribution) {
|
protected void onPostExecute(Contribution contribution) {
|
||||||
super.onPostExecute(contribution);
|
super.onPostExecute(contribution);
|
||||||
uploadService.queue(UploadService.ACTION_UPLOAD_FILE, contribution);
|
//uploadService.queue(UploadService.ACTION_UPLOAD_FILE, contribution);
|
||||||
onComplete.onUploadStarted(contribution);
|
onComplete.onUploadStarted(contribution);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue