mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Add TAG and searchcatlimits
This commit is contained in:
parent
0239bcc092
commit
fcd7c2a0a8
1 changed files with 3 additions and 2 deletions
|
|
@ -16,6 +16,9 @@ import fr.free.nrw.commons.CommonsApplication;
|
||||||
|
|
||||||
public class TitleCategories extends AsyncTask<Void, Void, ArrayList<String>> {
|
public class TitleCategories extends AsyncTask<Void, Void, ArrayList<String>> {
|
||||||
|
|
||||||
|
private final static int SEARCH_CATS_LIMIT = 25;
|
||||||
|
private static final String TAG = TitleCategories.class.getName();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPreExecute() {
|
protected void onPreExecute() {
|
||||||
super.onPreExecute();
|
super.onPreExecute();
|
||||||
|
|
@ -25,8 +28,6 @@ public class TitleCategories extends AsyncTask<Void, Void, ArrayList<String>> {
|
||||||
protected ArrayList<String> doInBackground(Void... voids) {
|
protected ArrayList<String> doInBackground(Void... voids) {
|
||||||
|
|
||||||
|
|
||||||
//TODO: Split this into AsyncTask
|
|
||||||
|
|
||||||
MWApi api = CommonsApplication.createMWApi();
|
MWApi api = CommonsApplication.createMWApi();
|
||||||
ApiResult result;
|
ApiResult result;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue