Created
July 28, 2020 11:35
-
-
Save arkivanov/8a07f766306534ff64d000b7b64698c3 to your computer and use it in GitHub Desktop.
KittenComponent public API
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
| internal class KittenComponent internal constructor(dataSource: KittenDataSource) { | |
| constructor() : this(KittenDataSource()) | |
| fun onViewCreated(view: KittenView) { /* ... */ } | |
| fun onStart() { /* ... */ } | |
| fun onStop() { /* ... */ } | |
| fun onViewDestroyed() { /* ... */ } | |
| fun onDestroy() { /* ... */ } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment