[Android] [PATCH] Do not refresh videos list everytime

Geoffrey Métais geoffrey.metais at gmail.com
Tue Oct 14 22:28:36 CEST 2014


Me too, but I don't see an other way to do it right now.
Animation must be executed at last.
UpdateList() in first, an onResume is the right place for them.
So this boolean is the less bad choice...

When we will async media loading, animation will be executed when list will
be updated, so we will no longer need to call it in onResume and this
temporary boolean will disappear.

On Tue, Oct 14, 2014 at 6:58 PM, Jean-Baptiste Kempf <jb at videolan.org>
wrote:

> On 14 Oct, Geoffrey Métais wrote :
> > +        boolean refresh = mVideoAdapter.getCount() == 0;
>
> This makes me a sad sanda.
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20141014/a216d5fb/attachment.html>


More information about the Android mailing list