Example #1
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   initView();
   mPresenter = new MainPresenter(this, MainActivity.this);
   mPresenter.onCreate();
 }
Example #2
0
 @Override
 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
   super.onActivityResult(requestCode, resultCode, data);
   mPresenter.onActivityResult(requestCode, resultCode, data);
 }