mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Add comments
This commit is contained in:
parent
859e78fc6d
commit
21686db31a
1 changed files with 2 additions and 1 deletions
|
|
@ -132,6 +132,7 @@ public class CategorizationFragment extends Fragment {
|
||||||
ApiResult result;
|
ApiResult result;
|
||||||
|
|
||||||
|
|
||||||
|
//TODO: Split this into AsyncTask
|
||||||
//URL https://commons.wikimedia.org/w/api.php?action=query&format=xml&list=search&srwhat=text&srenablerewrites=1&srnamespace=14&srlimit=10&srsearch=
|
//URL https://commons.wikimedia.org/w/api.php?action=query&format=xml&list=search&srwhat=text&srenablerewrites=1&srnamespace=14&srlimit=10&srsearch=
|
||||||
try {
|
try {
|
||||||
result = api.action("query")
|
result = api.action("query")
|
||||||
|
|
@ -190,7 +191,7 @@ public class CategorizationFragment extends Fragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Merges recently-used categories and nearby categories without duplicates.
|
* Merges nearby categories, categories suggested based on title, and recent categories... without duplicates.
|
||||||
* @return a list containing merged categories
|
* @return a list containing merged categories
|
||||||
*/
|
*/
|
||||||
protected ArrayList<String> mergeItems() {
|
protected ArrayList<String> mergeItems() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue