Rob Lewis
Rob Lewis
Jul 10, 2017 · 1 min read

Looked at your code; since the subscription is set up in onCreate(), why wouldn’t it be cancelled in onDestroy(), and not in onPause() as you suggest? The RxLifecycle docs say that, unless specified otherwise, subscriptions are taken down in the “mirror image” lifecycle callback.

    Rob Lewis

    Written by

    Rob Lewis