We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfdcf26 commit 065e9cdCopy full SHA for 065e9cd
app/src/main/java/com/thefuntasty/mvvmsample/ui/detail/DetailViewModel.kt
@@ -12,6 +12,6 @@ class DetailViewModel @Inject constructor() : BaseViewModel<DetailViewState>() {
12
}
13
14
fun incrementNumber() {
15
- viewState.number.value = viewState.number.value() + 1
+ viewState.number.value = viewState.number.value + 1
16
17
mvvm/build.gradle
@@ -36,6 +36,7 @@ dependencies {
36
37
// Support libs
38
implementation "com.android.support:appcompat-v7:$support_lib"
39
+ implementation "com.android.support:support-annotations:$support_lib"
40
41
// Architecture components
42
implementation "android.arch.lifecycle:extensions:$arch_components"
0 commit comments