Last active
February 5, 2018 17:10
-
-
Save iamBedant/a39497fde08cd6e2be77fb74c68160ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Singleton | |
public class DataManager { | |
private Context mContext; | |
private DbHelper mDbHelper; | |
private SharedPrefsHelper mSharedPrefsHelper; | |
@Inject | |
public DataManager(@ApplicationContext Context context, | |
DbHelper dbHelper, | |
SharedPrefsHelper sharedPrefsHelper) { | |
mContext = context; | |
mDbHelper = dbHelper; | |
mSharedPrefsHelper = sharedPrefsHelper; | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment