Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyPresenter {
- private val interactor = MyInteractor()
- fun handleClick() {
- // process button click
- interactor.doWork()
- view?.update()
- }
- }
- class MyInteractor {
- // access network and persistent storage here
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement