mirror of
https://github.com/hmalik144/EasyCC_Master.git
synced 2026-03-18 07:26:16 +00:00
- Missing dependencies added
Took 7 minutes
This commit is contained in:
@@ -47,6 +47,8 @@ dependencies {
|
|||||||
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||||||
androidTestImplementation 'androidx.test:rules:1.4.0'
|
androidTestImplementation 'androidx.test:rules:1.4.0'
|
||||||
|
implementation 'org.jetbrains.kotlin:kotlin-test:1.7.10'
|
||||||
|
|
||||||
|
|
||||||
//Retrofit and GSON
|
//Retrofit and GSON
|
||||||
def retrofit_ver = "2.8.1"
|
def retrofit_ver = "2.8.1"
|
||||||
@@ -76,4 +78,5 @@ dependencies {
|
|||||||
//mock websever for testing retrofit responses
|
//mock websever for testing retrofit responses
|
||||||
testImplementation "com.squareup.okhttp3:mockwebserver:4.6.0"
|
testImplementation "com.squareup.okhttp3:mockwebserver:4.6.0"
|
||||||
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
|
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
|
||||||
|
implementation "org.jetbrains.kotlin:kotlin-test:1.7.10"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ import javax.inject.Inject
|
|||||||
*/
|
*/
|
||||||
@HiltViewModel
|
@HiltViewModel
|
||||||
class MainViewModel @Inject constructor(
|
class MainViewModel @Inject constructor(
|
||||||
val handle: SavedStateHandle,
|
|
||||||
private val currencyDataHelper: CurrencyDataHelper,
|
private val currencyDataHelper: CurrencyDataHelper,
|
||||||
private val repository: Repository
|
private val repository: Repository
|
||||||
) : ViewModel() {
|
) : ViewModel() {
|
||||||
|
|||||||
Reference in New Issue
Block a user