2009/7/23 Michael Burton <[email protected]>: > In particular, on Android I don't want to load all of the resources at > the time the module is started. Some of them can be memory intensive > (eg. bitmaps), and many of my Android activities will never use most > of them at all.
Registering a provider of some resource R does not load R when module is started. It will be loaded when you inject R, when you inject something which depends on R or when you inject Provider<R> and invoke its #get method. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
