Created
June 20, 2019 12:42
-
-
Save DanishAmjad12/6a2cf8974e83bbc96ea15fca19772a68 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
open class MyObseravble : ViewModel() | |
{ | |
val data = MutableLiveData<String>() | |
fun data(item: String) { | |
data.value = item | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment