On 06/23/2011 11:20 AM, Moandji Ezana wrote:

    So, if somebody is going to do that, please use a special Key<T>
    object which would avoid casts.


Why not just make it a string, if it's in R.string ?


Well, right. I depends on how precisely one wants to reproduce the stuff in Android. Indeed, some string could be very long (e.g. a small html page?) and you might want to lazy load it.

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
fabrizio.giud...@tidalwave.it

--
You received this message because you are subscribed to the Google Groups "The Java 
Posse" group.
To post to this group, send email to javaposse@googlegroups.com.
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to