Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Context em um objeto serializable

Então você não precisa passar ele...

Lúcio Maciel
luciofm@gmail.com


2014-03-08 15:59 GMT-03:00 Thiago Silva <thiagodd.silva@gmail.com>:
O da aplicação mesmo, que eu pego com getApplicationContext().


2014-03-08 15:41 GMT-03:00 luciofm <luciofm@gmail.com>:

Que tipo de Context você está tentando passar entre Activities???

Lúcio Maciel
luciofm@gmail.com


2014-03-08 15:11 GMT-03:00 Thiago Silva <thiagodd.silva@gmail.com>:
Pessoal, 

Preciso passar uma Classe entre umas Activity. O problema e que essa Classe tem um atributo Context. Quando tento passar a Classe no extra da Intent da erro falando que tem algum objeto que não é serializable.

Tem como eu corrigir esse problema sem tirar o atributo Context da minha Classe?

--
Att.
Thiago Silva
Desenvolvedor - Rerum Engenharia de Sistemas.

--
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.



--
Att.
Thiago Silva
Desenvolvedor - Rerum Engenharia de Sistemas.

--
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.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário