Skip to content

Commit

Permalink
Add public access modifier in interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunghyun-lee committed Feb 18, 2016
1 parent 2688ea0 commit 1482edf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,63 +53,63 @@ public interface ActivityMvpDelegate<V extends MvpView, P extends MvpPresenter<V
* This method must be called from {@link Activity#onCreate(Bundle)}.
* This method internally creates the presenter and attaches the view to it.
*/
void onCreate(Bundle bundle);
public void onCreate(Bundle bundle);

/**
* This method must be called from {@link Activity#onDestroy()}}.
* This method internally detaches the view from presenter
*/
void onDestroy();
public void onDestroy();

/**
* This method must be called from {@link Activity#onPause()}
*/
void onPause();
public void onPause();

/**
* This method must be called from {@link Activity#onResume()}
*/
void onResume();
public void onResume();

/**
* This method must be called from {@link Activity#onStart()}
*/
void onStart();
public void onStart();

/**
* This method must be called from {@link Activity#onStop()}
*/
void onStop();
public void onStop();

/**
* This method must be called from {@link Activity#onRestart()}
*/
void onRestart();
public void onRestart();

/**
* This method must be called from {@link Activity#onContentChanged()}
*/
void onContentChanged();
public void onContentChanged();

/**
* This method must be called from {@link Activity#onSaveInstanceState(Bundle)}
*/
void onSaveInstanceState(Bundle outState);
public void onSaveInstanceState(Bundle outState);

/**
* This method must be called from {@link Activity#onPostCreate(Bundle)}
*/
void onPostCreate(Bundle savedInstanceState);
public void onPostCreate(Bundle savedInstanceState);

/**
* This method must be called from {@link FragmentActivity#onRetainCustomNonConfigurationInstance()}
*
* @return Don't forget to return the value returned by this delegate method
*/
Object onRetainCustomNonConfigurationInstance();
public Object onRetainCustomNonConfigurationInstance();

/**
* @return the value returned from {@link ActivityMvpDelegateCallback#onRetainNonMosbyCustomNonConfigurationInstance()}
*/
Object getNonMosbyLastCustomNonConfigurationInstance();
public Object getNonMosbyLastCustomNonConfigurationInstance();
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ public interface ActivityMvpDelegateCallback<V extends MvpView, P extends MvpPre
*
* @return Object holding state.
*/
Object onRetainNonMosbyCustomNonConfigurationInstance();
public Object onRetainNonMosbyCustomNonConfigurationInstance();

/**
* @return Return the value previously returned from {@link FragmentActivity#onRetainCustomNonConfigurationInstance()}.
*/
Object getLastCustomNonConfigurationInstance();
public Object getLastCustomNonConfigurationInstance();

/**
* This method should invoke {@link
Expand All @@ -63,5 +63,5 @@ public interface ActivityMvpDelegateCallback<V extends MvpView, P extends MvpPre
* method since this method is the counterpart to {@link #onRetainNonMosbyCustomNonConfigurationInstance()}
* </p>
*/
Object getNonMosbyLastCustomNonConfigurationInstance();
public Object getNonMosbyLastCustomNonConfigurationInstance();
}

0 comments on commit 1482edf

Please sign in to comment.