@@ -0,0 +1,478 @@
+package triaina.injector;%0A%0Aimport javax.inject.Inject;%0Aimport javax.inject.Provider;%0A%0Aimport android.content.Context;%0A%0Aimport roboguice.inject.ContextScope;%0A%0Apublic class TriainaContextScopedProvider%3CT%3E %7B%0A%09@Inject protected ContextScope scope;%0A%09@Inject protected Provider%3CT%3E provider;%0A%0A%09public T get(final Context context) %7B%0A%09%09synchronized (ContextScope.class) %7B%0A%09%09%09scope.enter(context);%0A%09%09%09try %7B%0A%09%09%09%09return provider.get();%0A%09%09%09%7D finally %7B%0A%09%09%09%09scope.exit(context);%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%7D%0A

Add a ContextScopedProvider class