Added unified folder categories, refactoring

This commit is contained in:
M66B
2021-10-04 08:03:09 +02:00
parent b09a90b247
commit 87ba2794e5
9 changed files with 139 additions and 20 deletions

View File

@@ -1449,6 +1449,13 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
return selected.get(position).id;
}
public TupleFolderEx getItemAtPosition(int pos) {
if (pos >= 0 && pos < selected.size())
return selected.get(pos);
else
return null;
}
@Override
public int getItemCount() {
return selected.size();