KoinDemo icon indicating copy to clipboard operation
KoinDemo copied to clipboard

missing Gson parameter fix

Open pitoszud opened this issue 6 years ago • 0 comments

factory { DataRepositoryImpl() } does not include a Gson parameter that you defined in the DataRepositoryImpl class. Simply adding a default constructor should solve the problem. Otherwise, you will get "No value passed for parameter 'gson' error in the Android Studio. Later you can use get() in the DataRepositoryFactory, I think.

pitoszud avatar Jan 16 '19 08:01 pitoszud