toothpick.smoothie.provider.ResourcesProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smoothie Show documentation
Show all versions of smoothie Show documentation
'Toothpick package providing Android providers'
package toothpick.smoothie.provider;
import android.app.Application;
import android.content.res.Resources;
import javax.inject.Inject;
import javax.inject.Provider;
public class ResourcesProvider implements Provider {
Application application;
@Inject
public ResourcesProvider(Application application) {
this.application = application;
}
@Override
public Resources get() {
return application.getResources();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy