I want to create SharedPreferencesRepository but to init it I need activity. How can I get activity into repository without DI?
SharedPreferencesRepository
I have checked this answer and its what I need but I need code example