@Test public void detachingCallsOnUiHidden() throws Exception { stopwatchPresenter.detachView(); verify(stopwatch).onUiHidden(); }
@Override public void detachView() { Log.d(TAG, "detachView()"); view = null; stopwatch.onUiHidden(); }
StopwatchPresenter implements StopwatchMvp.Presenter { @Override public void detachView() { Log.d(TAG, "detachView()"); view = null; stopwatch.onUiHidden(); } }
StopwatchPresenter implements StopwatchMvp.Presenter { @Override public void detachView() { Log.d(TAG, "detachView()"); view = null; stopwatch.onUiHidden(); } @Inject  StopwatchPresenter(@NonNull @Named("remote") Stopwatch stopwatch); }
StopwatchPresenter implements StopwatchMvp.Presenter { @Override public void detachView() { Log.d(TAG, "detachView()"); view = null; stopwatch.onUiHidden(); } @Inject  StopwatchPresenter(@NonNull @Named("remote") Stopwatch stopwatch); @Override void attachView(@NonNull StopwatchMvp.View view); @Override void detachView(); @Override void startOrStop(); @Override void resetOrLap(); }
StopwatchPresenter implements StopwatchMvp.Presenter { @Override public void detachView() { Log.d(TAG, "detachView()"); view = null; stopwatch.onUiHidden(); } @Inject  StopwatchPresenter(@NonNull @Named("remote") Stopwatch stopwatch); @Override void attachView(@NonNull StopwatchMvp.View view); @Override void detachView(); @Override void startOrStop(); @Override void resetOrLap();  }