Created
May 18, 2020 15:31
-
-
Save Kpeved/32f37116da61cf00ef30eb04be5bd21b to your computer and use it in GitHub Desktop.
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
class HomeViewModel( | |
private val analyticsInteractor: HomeAnalyticsInteractor | |
) : ViewModel() { | |
fun onFragmentCreated(){ | |
analyticsInteractor.startTracking() | |
} | |
fun sendData() { | |
analyticsInteractor.sendEvent() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment