Answer the question
In order to leave comments, you need to log in
How to sort the list by default, which displays tasks with subtasks, just active tasks and closed ones?
Is it possible to select and sort with one query so that tasks with subtasks are displayed at the top of the list, closed tasks are at the bottom, and between them are active tasks without subtasks?
Or is it better not to complicate things and make three requests, or sort the array that is given to the adapter, or when creating an array for the adapter, first unload tasks into three arrays, which are then glued in the right order?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question