sample/src/main/java/autodispose2/sample/JavaFragment.java [78:89]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void onStart() {
    super.onStart();

    Log.d(TAG, "onStart()");

    // Using automatic disposal, this should determine that the correct time to
    // dispose is onStop (the opposite of onStart).
    Observable.interval(1, TimeUnit.SECONDS)
        .doOnDispose(() -> Log.i(TAG, "Disposing subscription from onStart()"))
        .to(autoDisposable(AndroidLifecycleScopeProvider.from(this)))
        .subscribe(num -> Log.i(TAG, "Started in onStart(), running until in onStop(): " + num));
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sample/src/main/java/autodispose2/sample/JavaActivity.java [60:71]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  protected void onStart() {
    super.onStart();

    Log.d(TAG, "onStart()");

    // Using automatic disposal, this should determine that the correct time to
    // dispose is onStop (the opposite of onStart).
    Observable.interval(1, TimeUnit.SECONDS)
        .doOnDispose(() -> Log.i(TAG, "Disposing subscription from onStart()"))
        .to(autoDisposable(AndroidLifecycleScopeProvider.from(this)))
        .subscribe(num -> Log.i(TAG, "Started in onStart(), running until in onStop(): " + num));
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



