@InjectView(R.id.thumbnail) ImageView thumbnail;
--
You received this message because you are subscribed to the Google Groups "roboguice" group.
To post to this group, send email to robo...@googlegroups.com.
To unsubscribe from this group, send email to roboguice+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/roboguice?hl=en.
You could also provide an optional String-based lookup coupled with Resources#getIdentifier to perform the constant resolution. Something like @InjectView("main") where the fact that it's a layout is implied.Unfortunately you lose compile-time verification of these resources with this method. I'm not sure why Google didn't just opt for one of the tricks to prevent finals from being inlined instead...
--
You received this message because you are subscribed to the Google Groups "roboguice" group.
To view this discussion on the web visit https://groups.google.com/d/msg/roboguice/-/6F4Xo32Op1cJ.
To unsubscribe from this group, send email to roboguice+unsubscribe@googlegroups.com.