roboguice.inject.AssetManagerProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of roboguice Show documentation
Show all versions of roboguice Show documentation
A framework for using Google Guice dependency injection in Android.
The newest version!
package roboguice.inject;
import android.content.Context;
import android.content.res.AssetManager;
import com.google.inject.Inject;
import com.google.inject.Provider;
public class AssetManagerProvider implements Provider {
@Inject protected Context context;
public AssetManager get() {
return context.getAssets();
}
}