Android use dependency injection for simple custom class
问题 after search on web for learning about this feature most topics or post was using dependency injection for Retrofit or other android useful libraries, but i have some custom class which i want to use that with DI and i can't done it, for example i have simple custom class for using SharePreference and i'm using with that as an Singleton class in my code i can't assign correct Dagger to component on SpApplication class to use that on activities or fragments public class SP { private