{"action":"opened","issue":{"url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/622","labels_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/622/labels{/name}","comments_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/622/comments","events_url":"https://api.github.com/repos/eclipsesource/tabris-js/issues/622/events","html_url":"https://github.com/eclipsesource/tabris-js/issues/622","id":104931945,"number":622,"title":"CollectionView \"change:items\" event not fired","user":{"login":"cpetrov","id":2341769,"avatar_url":"https://avatars.githubusercontent.com/u/2341769?v=3","gravatar_id":"","url":"https://api.github.com/users/cpetrov","html_url":"https://github.com/cpetrov","followers_url":"https://api.github.com/users/cpetrov/followers","following_url":"https://api.github.com/users/cpetrov/following{/other_user}","gists_url":"https://api.github.com/users/cpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/cpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpetrov/subscriptions","organizations_url":"https://api.github.com/users/cpetrov/orgs","repos_url":"https://api.github.com/users/cpetrov/repos","events_url":"https://api.github.com/users/cpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/cpetrov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipsesource/tabris-js/labels/bug","name":"bug","color":"333333"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-04T17:17:34Z","updated_at":"2015-09-04T17:17:34Z","closed_at":null,"body":"Setting a new 'items' array value doesn't result into the 'change:items' event handler being called.\r\n\r\n```javascript\r\nvar page = tabris.create(\"Page\", {topLevel: true}).open();\r\n\r\nvar collectionView = tabris.create(\"CollectionView\", {\r\n  layoutData: {left: 0, top: 0, right: 0, bottom: 0},\r\n  items: [\"foo\", \"bar\", \"baz\"],\r\n  itemHeight: 128,\r\n  initializeCell: function(cell, cellType) {\r\n    var textView = tabris.create(\"TextView\", {\r\n      layoutData: {left: 10, top: 10}\r\n    }).appendTo(cell);\r\n\tcell.on(\"change:item\", function(widget, item) {\r\n\t  textView.set(\"text\", item);\r\n    })\r\n  }\r\n}).on(\"change:items\", function(widget, items) {\r\n  console.log(\"Items property changed: \" + JSON.stringify(items));\r\n}).appendTo(page);\r\n\r\ncollectionView.set(\"items\", [\"bar\"]);\r\n```"}}