3.0 should be a drop-in replacement for 2.0 for the most part. It should work flawlessly with Roboguice. Give it a shot. The problem is that the binding was already added in a private module, and 3.0 will include in the error message exactly where and in which PrivateModule you've got the binding that you're also adding in the parent module.
sam On Fri, Jul 15, 2011 at 4:23 PM, glenviewjeff <[email protected]>wrote: > Unfortunately, this isn't possible, as I am using Roboguice for Android, > which at present is based on 2.0. If this is of any additional value, the > line that I'm receiving the error on is a multibinder: > > Multibinder<Helper> helpers = Multibinder.newSetBinder(binder(), > Helper.class, Stuff.class); > activityHelpers.addBinding().to(XYZ.class); // Fails on this line > > > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-guice/-/EfaRLhhfpBsJ. > > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
