{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxAndroid/issues/127","labels_url":"https://api.github.com/repos/ReactiveX/RxAndroid/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxAndroid/issues/127/comments","events_url":"https://api.github.com/repos/ReactiveX/RxAndroid/issues/127/events","html_url":"https://github.com/ReactiveX/RxAndroid/issues/127","id":55747726,"number":127,"title":"Using LifecycleObservable","user":{"login":"amitai-hoze","id":7767185,"avatar_url":"https://avatars.githubusercontent.com/u/7767185?v=3","gravatar_id":"","url":"https://api.github.com/users/amitai-hoze","html_url":"https://github.com/amitai-hoze","followers_url":"https://api.github.com/users/amitai-hoze/followers","following_url":"https://api.github.com/users/amitai-hoze/following{/other_user}","gists_url":"https://api.github.com/users/amitai-hoze/gists{/gist_id}","starred_url":"https://api.github.com/users/amitai-hoze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitai-hoze/subscriptions","organizations_url":"https://api.github.com/users/amitai-hoze/orgs","repos_url":"https://api.github.com/users/amitai-hoze/repos","events_url":"https://api.github.com/users/amitai-hoze/events{/privacy}","received_events_url":"https://api.github.com/users/amitai-hoze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-28T11:59:11Z","updated_at":"2015-02-10T14:29:35Z","closed_at":null,"body":"Hi, it seems that using `LifecycleObservable` and binding it to an activity or fragment, obviates the need for `AppObservable`, am I correct, or do I need to use both in conjunction?\r\nMy guess is that `LifecycleObservable` includes the features of `AppObservable`, but since it's a part of `rxandroid-framework` and not the core, `AppObservable` is not deprecated or something like that.\r\n\r\nAlso, can I use ` LifecycleObservable.bindActivityLifecycle` whenever I want? (i.e. after different observable operators etc.)"},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxAndroid/issues/comments/73707606","html_url":"https://github.com/ReactiveX/RxAndroid/issues/127#issuecomment-73707606","issue_url":"https://api.github.com/repos/ReactiveX/RxAndroid/issues/127","id":73707606,"user":{"login":"dlew","id":514850,"avatar_url":"https://avatars.githubusercontent.com/u/514850?v=3","gravatar_id":"","url":"https://api.github.com/users/dlew","html_url":"https://github.com/dlew","followers_url":"https://api.github.com/users/dlew/followers","following_url":"https://api.github.com/users/dlew/following{/other_user}","gists_url":"https://api.github.com/users/dlew/gists{/gist_id}","starred_url":"https://api.github.com/users/dlew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlew/subscriptions","organizations_url":"https://api.github.com/users/dlew/orgs","repos_url":"https://api.github.com/users/dlew/repos","events_url":"https://api.github.com/users/dlew/events{/privacy}","received_events_url":"https://api.github.com/users/dlew/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T14:29:35Z","updated_at":"2015-02-10T14:29:35Z","body":"1. I don't think that `ViewObservable` should send `onComplete`. We debated over whether `LifecycleObservable` should do so and decided it should not. I wasn't part of the development for `ViewObservable` though. Might be worth a PR.\r\n\r\n2. Looking at it more closely, I'm not convinced that `ViewObservable::bindView` actually negates the need for `AppObservable::bindActivity`. It only checks for unsubscribe, which again can be deceptive based on the user of `Handler` schedulers.\r\n\r\nAlso, Views have `addOnAttachStateChangeListener` which means that we can monitor the state from *outside* of it. Fragments and Activities do not offer any such capability so we had to subclass."}}