mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Add titleItems to mergedItems()
This commit is contained in:
parent
af0fed66bc
commit
0636411185
1 changed files with 3 additions and 0 deletions
|
|
@ -168,6 +168,9 @@ public class CategorizationFragment extends Fragment {
|
|||
List<String> recentItems = new ArrayList<String>(recentCatQuery());
|
||||
mergedItems.addAll(recentItems);
|
||||
|
||||
List<String> titleItems = new ArrayList<String>(titleCatQuery());
|
||||
mergedItems.addAll(titleItems);
|
||||
|
||||
//Needs to be an ArrayList and not a List unless we want to modify a big portion of preexisting code
|
||||
ArrayList<String> mergedItemsList = new ArrayList<String>(mergedItems);
|
||||
return mergedItemsList;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue