{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/248","labels_url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/248/comments","events_url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/248/events","html_url":"https://github.com/ReactiveX/RxSwift/issues/248","id":115987728,"number":248,"title":"rx_tap on table view cell button","user":{"login":"xdgimf","id":3120340,"avatar_url":"https://avatars.githubusercontent.com/u/3120340?v=3","gravatar_id":"","url":"https://api.github.com/users/xdgimf","html_url":"https://github.com/xdgimf","followers_url":"https://api.github.com/users/xdgimf/followers","following_url":"https://api.github.com/users/xdgimf/following{/other_user}","gists_url":"https://api.github.com/users/xdgimf/gists{/gist_id}","starred_url":"https://api.github.com/users/xdgimf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdgimf/subscriptions","organizations_url":"https://api.github.com/users/xdgimf/orgs","repos_url":"https://api.github.com/users/xdgimf/repos","events_url":"https://api.github.com/users/xdgimf/events{/privacy}","received_events_url":"https://api.github.com/users/xdgimf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-09T23:03:30Z","updated_at":"2015-11-12T20:02:50Z","closed_at":null,"body":"I'm trying to use rx_tap on a table view cell button, how can i prevent adding new rx_tap every time i reload the tableview?\r\n\r\n    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {\r\n    //...\r\n    cell.addButton.rx_tap\r\n                .subscribeNext {\r\n                    log.info(\"\\(indexPath.row)\")\r\n                }\r\n                .addDisposableTo(disposeBag)\r\n    //...\r\n    }"},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/comments/156218777","html_url":"https://github.com/ReactiveX/RxSwift/issues/248#issuecomment-156218777","issue_url":"https://api.github.com/repos/ReactiveX/RxSwift/issues/248","id":156218777,"user":{"login":"xdgimf","id":3120340,"avatar_url":"https://avatars.githubusercontent.com/u/3120340?v=3","gravatar_id":"","url":"https://api.github.com/users/xdgimf","html_url":"https://github.com/xdgimf","followers_url":"https://api.github.com/users/xdgimf/followers","following_url":"https://api.github.com/users/xdgimf/following{/other_user}","gists_url":"https://api.github.com/users/xdgimf/gists{/gist_id}","starred_url":"https://api.github.com/users/xdgimf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdgimf/subscriptions","organizations_url":"https://api.github.com/users/xdgimf/orgs","repos_url":"https://api.github.com/users/xdgimf/repos","events_url":"https://api.github.com/users/xdgimf/events{/privacy}","received_events_url":"https://api.github.com/users/xdgimf/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T20:02:50Z","updated_at":"2015-11-12T20:02:50Z","body":"if i'm not mistaken tableView.rx_itemSelected is for the whole table view cell, I only want to add it to a  button in a tableview cell. I did what you said last time, I added a disposeBag to the  cell(CustomTableViewCell) and it works fine. I also tried creating an array of disposeBag but got a problem disposing them when reloading only 1 row, so I stick with the disposeBag on a tableview cell\r\n"}}