-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-changed package scope to more valid -upgraded arch.lifecycle version -simplified unused imports
- Loading branch information
Showing
12 changed files
with
66 additions
and
71 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#Mon Jul 01 11:59:38 CEST 2019 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-keep class io.github.luteoos.mvvmbaselib.** {*;} |
35 changes: 0 additions & 35 deletions
35
mvvmBaseLib/src/main/java/com/luteoos/kotlin/mvvmbaselib/Test.kt
This file was deleted.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
...os/kotlin/mvvmbaselib/BaseActivityMVVM.kt → ...b/luteoos/mvvmbaselib/BaseActivityMVVM.kt
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
10 changes: 5 additions & 5 deletions
10
...os/kotlin/mvvmbaselib/BaseFragmentMVVM.kt → ...b/luteoos/mvvmbaselib/BaseFragmentMVVM.kt
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
4 changes: 2 additions & 2 deletions
4
.../mvvmbaselib/BaseFragmentMVVMWithoutVM.kt → .../mvvmbaselib/BaseFragmentMVVMWithoutVM.kt
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
8 changes: 4 additions & 4 deletions
8
...teoos/kotlin/mvvmbaselib/BaseViewModel.kt → ...thub/luteoos/mvvmbaselib/BaseViewModel.kt
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
27 changes: 27 additions & 0 deletions
27
mvvmBaseLib/src/test/java/io/github/luteoos/mvvmbaselib/BaseViewModelUnitTest.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package io.github.luteoos.mvvmbaselib | ||
|
||
import androidx.lifecycle.LiveData | ||
import androidx.lifecycle.MutableLiveData | ||
import org.junit.Assert.assertEquals | ||
import org.junit.Before | ||
import org.junit.Test | ||
|
||
/** | ||
* Instrumented test, which will execute on an Android device. | ||
* | ||
* See [testing documentation](http://d.android.com/tools/testing). | ||
*/ | ||
class BaseViewModelUnitTest { | ||
|
||
// @Before | ||
// fun init(){ | ||
// testViewModel = o | ||
// } | ||
// | ||
// @Test | ||
// fun getVMMessage_BaseViewModdel_ReturnIntLiveData(){ | ||
// val testViewModel: BaseViewModel = object : BaseViewModel(){} | ||
// val testLiveData = MutableLiveData<Int>() as LiveData<Int> | ||
// assertEquals(testViewModel.VMMessage(), testLiveData) | ||
// } | ||
} |