Last active
November 10, 2017 10:36
-
-
Save javipacheco/4bf45baf6e407f8c31327a5381531dbb to your computer and use it in GitHub Desktop.
NewsFragment
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 NewsFragment: | |
Fragment(), | |
NewsUiService { | |
val newsActorRef = NewsActors(ApiService(), this) | |
override fun onViewCreated(view: View?, savedInstanceState: Bundle?) { | |
.... | |
newsActorRef.mainActor.sendBlocking(NewsGetItemsCommand(limit)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment