[Android] [PATCH 0/8] potential enhancement for responsiveness

Adrien Maglo magsoft at videolan.org
Thu Mar 6 11:04:48 CET 2014


Le 04/03/2014 23:33, Yu Lin a écrit :
> My original post and a detail description is in the issue tracker:
> https://trac.videolan.org/vlc/ticket/10829
>
> In general, I move database access or bitmap decoding into AsyncTask,
> since they are relatively long operations and might affect the responsiveness
> of the UI thread.

Hello,


I have read all of your patches and I think that most of the calls you 
put AsyncTask are not very costly. They complicate the code without a 
visible gain on UI responsiveness. Besides, some of them might cause 
synchronisation issues because, even if the modified function does not 
return a variable, the state of the class may not be modified after the 
return call as it used to be.

That's my opinion but other developers can of course support the 
integration of some of them.

Best regards,


-- 
MagSoft



More information about the Android mailing list