Duas opções me vêm à mente:
1. Usar callbacks junto ao seu componente gerenciador de downloads
2. Usar um bus de eventos/mensagens (BroadcastReceiver, Otto, etc)
As duas funcionam de maneira semelhante. A segunda diminui o acoplamento, mas adiciona um componente novo (o bus) no seu software, caso ele já não tenha um.
Em 07/10/2014 12:33, "Victor Pinto" <ovictorpinto@gmail.com> escreveu:
-- Pessoal,--Qual a melhor saída para exibir progresso (download) em cada item de um listview?Até agora a melhor solução que achei foi essa: http://stackoverflow.com/questions/19875838/download-multiple-files-with-a-progress-bar-in-listview-android
[]'s
Victor Pinto A. de Oliveira
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.






0 comentários:
Postar um comentário