Back to project page Android-CleanArchitecture.
The source code is released under:
Apache License
If you think the Android project Android-CleanArchitecture listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * Copyright (C) 2014 android10.org. All rights reserved. * @author Fernando Cejas (the android10 coder) *//*from w w w . ja v a2 s.c om*/ package com.fernandocejas.android10.sample.presentation.presenter; /** * Interface representing a Presenter in a model view presenter (MVP) pattern. */ public interface Presenter { /** * Method that control the lifecycle of the view. It should be called in the view's * (Activity or Fragment) onResume() method. */ void resume(); /** * Method that control the lifecycle of the view. It should be called in the view's * (Activity or Fragment) onPause() method. */ void pause(); }