Well, since in the first option you block the user interface flow, there may be a delay in the user's ability to interact with your application. This is not a good option, because even if it is for a moment, users do not want to wait until they know what is happening. But, if you know that at any time there will be no delay, go ahead and do it.
, , . , . , , ( ), , ? , . , .
AsyncThread find() count() , . , Parse :
public Task<List<T>> findInBackground()
Retrieves a list of ParseObjects that satisfy this query from the source in a background thread.
This is preferable to using ParseQuery.find(), unless your code is already running in a background thread.
Returns:
A Task that will be resolved when the find has completed.
, API .