Last active
August 10, 2017 06:44
-
-
Save satadii11/82e91fab5ee451c9e3ef5b7a50fd2b92 to your computer and use it in GitHub Desktop.
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 Presenter { | |
Presenter(IView view, Interactor i){ | |
// Basic Constructor | |
} | |
} | |
class Interactor { | |
Interactor(Context ctx){ | |
// Basic Constructor | |
} | |
} | |
class MainActivity extends Activity implements IView { | |
@Override | |
void onCreate(Bundle b){ | |
super.onCreate(b); | |
this.presenter = new Presenter(this, new Interactor(this); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment