{"action":"created","issue":{"url":"https://api.github.com/repos/jemise111/react-native-swipe-list-view/issues/3","repository_url":"https://api.github.com/repos/jemise111/react-native-swipe-list-view","labels_url":"https://api.github.com/repos/jemise111/react-native-swipe-list-view/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jemise111/react-native-swipe-list-view/issues/3/comments","events_url":"https://api.github.com/repos/jemise111/react-native-swipe-list-view/issues/3/events","html_url":"https://github.com/jemise111/react-native-swipe-list-view/issues/3","id":149344005,"number":3,"title":"onPress method called at render","user":{"login":"benoitvallon","id":2761144,"avatar_url":"https://avatars.githubusercontent.com/u/2761144?v=3","gravatar_id":"","url":"https://api.github.com/users/benoitvallon","html_url":"https://github.com/benoitvallon","followers_url":"https://api.github.com/users/benoitvallon/followers","following_url":"https://api.github.com/users/benoitvallon/following{/other_user}","gists_url":"https://api.github.com/users/benoitvallon/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitvallon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitvallon/subscriptions","organizations_url":"https://api.github.com/users/benoitvallon/orgs","repos_url":"https://api.github.com/users/benoitvallon/repos","events_url":"https://api.github.com/users/benoitvallon/events{/privacy}","received_events_url":"https://api.github.com/users/benoitvallon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-19T04:14:14Z","updated_at":"2016-04-19T14:21:50Z","closed_at":null,"body":"If I do something like this, my `onPress` method gets call for every rows at render.\r\n\r\n```js\r\nrenderHiddenRow={(rowData, secId, rowID) => (\r\n  <TouchableHighlight onPress={this._handleRemoveIdea(rowID)} style={styles.rowBack}>\r\n    <Text style={styles.rowBackText}>Delete</Text>\r\n  </TouchableHighlight>\r\n)}\r\n```"},"comment":{"url":"https://api.github.com/repos/jemise111/react-native-swipe-list-view/issues/comments/211942454","html_url":"https://github.com/jemise111/react-native-swipe-list-view/issues/3#issuecomment-211942454","issue_url":"https://api.github.com/repos/jemise111/react-native-swipe-list-view/issues/3","id":211942454,"user":{"login":"benoitvallon","id":2761144,"avatar_url":"https://avatars.githubusercontent.com/u/2761144?v=3","gravatar_id":"","url":"https://api.github.com/users/benoitvallon","html_url":"https://github.com/benoitvallon","followers_url":"https://api.github.com/users/benoitvallon/followers","following_url":"https://api.github.com/users/benoitvallon/following{/other_user}","gists_url":"https://api.github.com/users/benoitvallon/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitvallon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitvallon/subscriptions","organizations_url":"https://api.github.com/users/benoitvallon/orgs","repos_url":"https://api.github.com/users/benoitvallon/repos","events_url":"https://api.github.com/users/benoitvallon/events{/privacy}","received_events_url":"https://api.github.com/users/benoitvallon/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T14:21:49Z","updated_at":"2016-04-19T14:21:49Z","body":"Thanks, I will try that tonight and will let you know"}}