Skip to content

Instantly share code, notes, and snippets.

@satadii11
Last active August 10, 2017 06:44
Show Gist options
  • Save satadii11/82e91fab5ee451c9e3ef5b7a50fd2b92 to your computer and use it in GitHub Desktop.
Save satadii11/82e91fab5ee451c9e3ef5b7a50fd2b92 to your computer and use it in GitHub Desktop.
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