{"action":"created","issue":{"url":"https://api.github.com/repos/RxSwiftCommunity/RxDataSources/issues/183","repository_url":"https://api.github.com/repos/RxSwiftCommunity/RxDataSources","labels_url":"https://api.github.com/repos/RxSwiftCommunity/RxDataSources/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/RxSwiftCommunity/RxDataSources/issues/183/comments","events_url":"https://api.github.com/repos/RxSwiftCommunity/RxDataSources/issues/183/events","html_url":"https://github.com/RxSwiftCommunity/RxDataSources/issues/183","id":267805474,"number":183,"title":"CallBack after tableview has been updated?","user":{"login":"cody1024d","id":5884708,"avatar_url":"https://avatars0.githubusercontent.com/u/5884708?v=4","gravatar_id":"","url":"https://api.github.com/users/cody1024d","html_url":"https://github.com/cody1024d","followers_url":"https://api.github.com/users/cody1024d/followers","following_url":"https://api.github.com/users/cody1024d/following{/other_user}","gists_url":"https://api.github.com/users/cody1024d/gists{/gist_id}","starred_url":"https://api.github.com/users/cody1024d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cody1024d/subscriptions","organizations_url":"https://api.github.com/users/cody1024d/orgs","repos_url":"https://api.github.com/users/cody1024d/repos","events_url":"https://api.github.com/users/cody1024d/events{/privacy}","received_events_url":"https://api.github.com/users/cody1024d/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-10-23T20:25:32Z","updated_at":"2018-04-29T18:45:40Z","closed_at":null,"author_association":"NONE","body":"I have a use case where I have implemented the common Material pattern of pulling to refresh the tableview.\r\n\r\nBecause of this, I need to be able to properly bind my tableview/datasource to my observable, BUT I need the ability to, after the update within the tableview, to clear certain loading indicators.\r\n\r\nBecause of bind currently returning a disposable, I don't believe this is currently possible?  If it were to return an observable, I'd be able to work with it, or if the RxDataSource had a callback built in (or something similar) that would work as well, I think?\r\n\r\nIt's also possible that I've been staring at this problem too long and there's an easy solution I'm not seeing :)"},"comment":{"url":"https://api.github.com/repos/RxSwiftCommunity/RxDataSources/issues/comments/385272316","html_url":"https://github.com/RxSwiftCommunity/RxDataSources/issues/183#issuecomment-385272316","issue_url":"https://api.github.com/repos/RxSwiftCommunity/RxDataSources/issues/183","id":385272316,"user":{"login":"sergdort","id":4622322,"avatar_url":"https://avatars3.githubusercontent.com/u/4622322?v=4","gravatar_id":"","url":"https://api.github.com/users/sergdort","html_url":"https://github.com/sergdort","followers_url":"https://api.github.com/users/sergdort/followers","following_url":"https://api.github.com/users/sergdort/following{/other_user}","gists_url":"https://api.github.com/users/sergdort/gists{/gist_id}","starred_url":"https://api.github.com/users/sergdort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergdort/subscriptions","organizations_url":"https://api.github.com/users/sergdort/orgs","repos_url":"https://api.github.com/users/sergdort/repos","events_url":"https://api.github.com/users/sergdort/events{/privacy}","received_events_url":"https://api.github.com/users/sergdort/received_events","type":"User","site_admin":false},"created_at":"2018-04-29T18:45:40Z","updated_at":"2018-04-29T18:45:40Z","author_association":"MEMBER","body":"I may look something like this: \r\n\r\n```swift\r\n    final class MyDataSource<S: AnimatableSectionModelType>: RxTableViewSectionedAnimatedDataSource<S> {\r\n        private let relay = PublishRelay<Void>()\r\n        var rxRealoded: Signal<Void> {\r\n            return relay.asSignal()\r\n        }\r\n        \r\n        override func tableView(_ tableView: UITableView, observedEvent: Event<[S]>) {\r\n            //Do diff\r\n            //Notify update\r\n            relay.accept(())\r\n        }\r\n    }\r\n```"}}
{"actor":{"display_login":"sergdort"}}