Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Re: Problemas com o javax.inject

Opa, sem galho desculpa ai. É que alguem pode ter passado por isso, mas proximos emails, faço separado.



att.
Jackson F. de A. Mafra
iOS / Android / Front-End / Back-End Software Engineer
http://about.me/jacksonfdam | http://cvgram.me/jacksonfdam
https://www.vizify.com/jacksonfdam
twitter: @jacksonfdam | LinkedIn: http://linkedin.com/in/jacksonfdam


On Wed, May 8, 2013 at 10:50 AM, luciofm <luciofm@gmail.com> wrote:
Por favor, não fazer cross-posting em mais de uma lista.

Lúcio Maciel
luciofm@gmail.com


On Wed, May 8, 2013 at 10:47 AM, Jackson Ferreira de Andrade Mafra <jacksonfdam@gmail.com> wrote:
Aparentemente achei uma solução, mas ainda estou avaliando o desempenho:

Fazer os injects por TAG e nao por ID
    @InjectView(R.id.hello) protected TextView hello;  @InjectView(tag="hello") protected TextView hello;    @InjectFragment(R.id.hello) protected MyFragment hello;  @InjectFragment(tag="hello") protected Fragment hello;    @InjectResource(R.string.hello) protected String hello;  @InjectResource(name="com.myapp:string/hello") protected String hello;


att.
Jackson F. de A. Mafra
iOS / Android / Front-End / Back-End Software Engineer
http://about.me/jacksonfdam | http://cvgram.me/jacksonfdam
https://www.vizify.com/jacksonfdam
twitter: @jacksonfdam | LinkedIn: http://linkedin.com/in/jacksonfdam


On Tue, May 7, 2013 at 4:30 PM, Jackson Ferreira de Andrade Mafra <jacksonfdam@gmail.com> wrote:
Alguem já passou por esses problemas:

The value for annotation attribute InjectResource.value must be a constant expression
The value for annotation attribute InjectView.value must be a constant expression

Estou usando :
guice-3.0-no_aop.jar
javax.inject.jar

Toda vez que faço:

@InjectView(R.id.textTitle) TextView title;

@InjectView(R.id.listView) ListView listView;

@InjectResource(R.array.tab_contents) String[] listItems;


Alguma luz???


att.
Jackson F. de A. Mafra
iOS / Android / Front-End / Back-End Software Engineer
http://about.me/jacksonfdam | http://cvgram.me/jacksonfdam
https://www.vizify.com/jacksonfdam
twitter: @jacksonfdam | LinkedIn: http://linkedin.com/in/jacksonfdam


--
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/groups/opt_out.
 
 

--
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/groups/opt_out.
 
 

--
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/groups/opt_out.
 
 

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

0 comentários:

Postar um comentário