Bom talvez se eu passar uma Activity como parametro.
Posso tentar assim
2014-08-28 7:23 GMT-03:00 Fábio Pimentel <fabiolp4@gmail.com>:
Receber a Activity na AsyncTask e chamar finish no postExecute() não é uma opção viável para você?
Sent with MailTrack--On Wed, Aug 27, 2014 at 8:34 PM, Bayron Thiengo Quinelato <bayrontq@gmail.com> wrote:
Utilize um Listener ou um ResultReceiver para comunicar a Activity o fim da task
Em 27/08/2014 16:14, "Willian do Amor" <willsazon@gmail.com> escreveu:Boa tarde,--alguém poderia me dizer se há algum modo de fechar uma activity após o final da execução do task?
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.
Fábio Pimentel
--
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