{"action":"created","issue":{"url":"https://api.github.com/repos/lucholaf/react-native-grid-view/issues/17","repository_url":"https://api.github.com/repos/lucholaf/react-native-grid-view","labels_url":"https://api.github.com/repos/lucholaf/react-native-grid-view/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/lucholaf/react-native-grid-view/issues/17/comments","events_url":"https://api.github.com/repos/lucholaf/react-native-grid-view/issues/17/events","html_url":"https://github.com/lucholaf/react-native-grid-view/pull/17","id":126360282,"number":17,"title":"Pass the index of each element to the renderItem method. This way it …","user":{"login":"maluramichael","id":1489383,"avatar_url":"https://avatars.githubusercontent.com/u/1489383?v=3","gravatar_id":"","url":"https://api.github.com/users/maluramichael","html_url":"https://github.com/maluramichael","followers_url":"https://api.github.com/users/maluramichael/followers","following_url":"https://api.github.com/users/maluramichael/following{/other_user}","gists_url":"https://api.github.com/users/maluramichael/gists{/gist_id}","starred_url":"https://api.github.com/users/maluramichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maluramichael/subscriptions","organizations_url":"https://api.github.com/users/maluramichael/orgs","repos_url":"https://api.github.com/users/maluramichael/repos","events_url":"https://api.github.com/users/maluramichael/events{/privacy}","received_events_url":"https://api.github.com/users/maluramichael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-13T07:35:49Z","updated_at":"2016-03-24T11:41:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lucholaf/react-native-grid-view/pulls/17","html_url":"https://github.com/lucholaf/react-native-grid-view/pull/17","diff_url":"https://github.com/lucholaf/react-native-grid-view/pull/17.diff","patch_url":"https://github.com/lucholaf/react-native-grid-view/pull/17.patch"},"body":"…is possible to prevent react-native from throwing warnings that no  are no unique key for items in an array.\r\n\r\nNow we can create our renderItem method like this:\r\n\r\n`_renderItem(item, index){\r\n\t\treturn <Image source={item.preview} key={index}/>\r\n\t}`\r\n\r\nreact-native now stops complaining about the key property."},"comment":{"url":"https://api.github.com/repos/lucholaf/react-native-grid-view/issues/comments/200800367","html_url":"https://github.com/lucholaf/react-native-grid-view/pull/17#issuecomment-200800367","issue_url":"https://api.github.com/repos/lucholaf/react-native-grid-view/issues/17","id":200800367,"user":{"login":"taylorwinfield","id":6200489,"avatar_url":"https://avatars.githubusercontent.com/u/6200489?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorwinfield","html_url":"https://github.com/taylorwinfield","followers_url":"https://api.github.com/users/taylorwinfield/followers","following_url":"https://api.github.com/users/taylorwinfield/following{/other_user}","gists_url":"https://api.github.com/users/taylorwinfield/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorwinfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorwinfield/subscriptions","organizations_url":"https://api.github.com/users/taylorwinfield/orgs","repos_url":"https://api.github.com/users/taylorwinfield/repos","events_url":"https://api.github.com/users/taylorwinfield/events{/privacy}","received_events_url":"https://api.github.com/users/taylorwinfield/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T11:41:33Z","updated_at":"2016-03-24T11:41:33Z","body":"+1"}}