[Android] MediaLibrary: code simplification

Jean-Baptiste Kempf jb at videolan.org
Fri Jun 12 09:59:26 CEST 2015


On 12 Jun, Geoffrey Métais wrote :
> Yes the last part.
> 
> You can, but I found it cleaner to declare the reference before the loop,
> and reuse it for each iteration.
> Not a big deal imho

Yeah, but I'd love to know which one is the best, though.
Because the new is inside the loop, no?

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the Android mailing list