Maybe someone sheds light on him. Which should I use to improve performance?
I think if you imagine the case when you start with the native Thread and AsyncTask, I think that the performance will not be different.
Usually, native threads are used in case you do not want to inform potential potential USERprogress information in any task using UI. Here, native threads fail because they do not synchronize with the stream UI, and you cannot manipulate the user interface.
, AsyncTask , , , .
, - 5 , USER,
"- , , "
, -, - ( MB , "" ..), (, - "" ).
, asnwer:
?
, , , , . , . , ( 50 , , AsyncTask). .
:
, , API, java.util.concurrent (ThreadPoolExecutor, FutureTask ..)