Created
July 7, 2018 14:46
-
-
Save SabagRonen/3643553c18b9f88f210d8bbe384aa2ac to your computer and use it in GitHub Desktop.
Android Jetpack Adoption At Gett post - new way to write contract
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
sealed class ProgressBarState | |
object ProgressBarShowState : ProgressBarState() | |
object ProgressBarHideState : ProgressBarState() | |
interface SomeScreenViewObservers { | |
fun observeProgressBarState(lifecycle: Lifecycle, observer: (ProgressBarState) -> Unit) | |
} | |
interface IPresenter { | |
fun startSomethingButtonClicked() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment