{"action":"created","comment":{"url":"https://api.github.com/repos/spark/spark-setup-android/pulls/comments/68995502","id":68995502,"diff_hunk":"@@ -18,12 +19,20 @@ protected void onCreate(Bundle savedInstanceState) {\n         Ui.findView(this, R.id.start_setup_button).setOnClickListener(new View.OnClickListener() {\n             @Override\n             public void onClick(View view) {\n-                invokeDeviceSetup();\n+                invokeDeviceSetupWithCustomization();","path":"exampleapp/src/main/java/io/particle/devicesetup/exampleapp/MainActivity.java","position":13,"original_position":13,"commit_id":"809d3729c54dba81108a43e40abea93e7694d554","original_commit_id":"809d3729c54dba81108a43e40abea93e7694d554","user":{"login":"jensck","id":671275,"avatar_url":"https://avatars.githubusercontent.com/u/671275?v=3","gravatar_id":"","url":"https://api.github.com/users/jensck","html_url":"https://github.com/jensck","followers_url":"https://api.github.com/users/jensck/followers","following_url":"https://api.github.com/users/jensck/following{/other_user}","gists_url":"https://api.github.com/users/jensck/gists{/gist_id}","starred_url":"https://api.github.com/users/jensck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jensck/subscriptions","organizations_url":"https://api.github.com/users/jensck/orgs","repos_url":"https://api.github.com/users/jensck/repos","events_url":"https://api.github.com/users/jensck/events{/privacy}","received_events_url":"https://api.github.com/users/jensck/received_events","type":"User","site_admin":false},"body":"Nice, thanks for adding the example here.","created_at":"2016-06-29T17:55:02Z","updated_at":"2016-06-29T17:55:02Z","html_url":"https://github.com/spark/spark-setup-android/pull/20#discussion_r68995502","pull_request_url":"https://api.github.com/repos/spark/spark-setup-android/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/spark/spark-setup-android/pulls/comments/68995502"},"html":{"href":"https://github.com/spark/spark-setup-android/pull/20#discussion_r68995502"},"pull_request":{"href":"https://api.github.com/repos/spark/spark-setup-android/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/spark/spark-setup-android/pulls/20","id":68230490,"html_url":"https://github.com/spark/spark-setup-android/pull/20","diff_url":"https://github.com/spark/spark-setup-android/pull/20.diff","patch_url":"https://github.com/spark/spark-setup-android/pull/20.patch","issue_url":"https://api.github.com/repos/spark/spark-setup-android/issues/20","number":20,"state":"open","locked":false,"title":"Adds customization options","user":{"login":"marcio-granzotto-ckl","id":17989878,"avatar_url":"https://avatars.githubusercontent.com/u/17989878?v=3","gravatar_id":"","url":"https://api.github.com/users/marcio-granzotto-ckl","html_url":"https://github.com/marcio-granzotto-ckl","followers_url":"https://api.github.com/users/marcio-granzotto-ckl/followers","following_url":"https://api.github.com/users/marcio-granzotto-ckl/following{/other_user}","gists_url":"https://api.github.com/users/marcio-granzotto-ckl/gists{/gist_id}","starred_url":"https://api.github.com/users/marcio-granzotto-ckl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcio-granzotto-ckl/subscriptions","organizations_url":"https://api.github.com/users/marcio-granzotto-ckl/orgs","repos_url":"https://api.github.com/users/marcio-granzotto-ckl/repos","events_url":"https://api.github.com/users/marcio-granzotto-ckl/events{/privacy}","received_events_url":"https://api.github.com/users/marcio-granzotto-ckl/received_events","type":"User","site_admin":false},"body":"With the new class `DeviceCustomization` is possible to set a few variables that are present on `customization.xml`. The activities that got the resources directly from `R` now get it from the `DeviceCustomization` object passed through the Intent (if non is passed, the activity creates a default one with the same values present on the xml file).\r\n\r\nThe old method of overriding the `customization.xml` file still works. But now the user can customize more than one device setup screen per app.\r\n\r\nFixes issue #19 ","created_at":"2016-04-28T14:31:39Z","updated_at":"2016-06-29T17:55:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ccf31e0ae7a67ded87658b3695fa6ece6e3cedcb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/spark/spark-setup-android/pulls/20/commits","review_comments_url":"https://api.github.com/repos/spark/spark-setup-android/pulls/20/comments","review_comment_url":"https://api.github.com/repos/spark/spark-setup-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spark/spark-setup-android/issues/20/comments","statuses_url":"https://api.github.com/repos/spark/spark-setup-android/statuses/809d3729c54dba81108a43e40abea93e7694d554","head":{"label":"Sushinn:master","ref":"master","sha":"809d3729c54dba81108a43e40abea93e7694d554","user":{"login":"Sushinn","id":11080704,"avatar_url":"https://avatars.githubusercontent.com/u/11080704?v=3","gravatar_id":"","url":"https://api.github.com/users/Sushinn","html_url":"https://github.com/Sushinn","followers_url":"https://api.github.com/users/Sushinn/followers","following_url":"https://api.github.com/users/Sushinn/following{/other_user}","gists_url":"https://api.github.com/users/Sushinn/gists{/gist_id}","starred_url":"https://api.github.com/users/Sushinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sushinn/subscriptions","organizations_url":"https://api.github.com/users/Sushinn/orgs","repos_url":"https://api.github.com/users/Sushinn/repos","events_url":"https://api.github.com/users/Sushinn/events{/privacy}","received_events_url":"https://api.github.com/users/Sushinn/received_events","type":"User","site_admin":false},"repo":{"id":57166318,"name":"spark-setup-android","full_name":"Sushinn/spark-setup-android","owner":{"login":"Sushinn","id":11080704,"avatar_url":"https://avatars.githubusercontent.com/u/11080704?v=3","gravatar_id":"","url":"https://api.github.com/users/Sushinn","html_url":"https://github.com/Sushinn","followers_url":"https://api.github.com/users/Sushinn/followers","following_url":"https://api.github.com/users/Sushinn/following{/other_user}","gists_url":"https://api.github.com/users/Sushinn/gists{/gist_id}","starred_url":"https://api.github.com/users/Sushinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sushinn/subscriptions","organizations_url":"https://api.github.com/users/Sushinn/orgs","repos_url":"https://api.github.com/users/Sushinn/repos","events_url":"https://api.github.com/users/Sushinn/events{/privacy}","received_events_url":"https://api.github.com/users/Sushinn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sushinn/spark-setup-android","description":"Spark Device Setup library for Android","fork":true,"url":"https://api.github.com/repos/Sushinn/spark-setup-android","forks_url":"https://api.github.com/repos/Sushinn/spark-setup-android/forks","keys_url":"https://api.github.com/repos/Sushinn/spark-setup-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sushinn/spark-setup-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sushinn/spark-setup-android/teams","hooks_url":"https://api.github.com/repos/Sushinn/spark-setup-android/hooks","issue_events_url":"https://api.github.com/repos/Sushinn/spark-setup-android/issues/events{/number}","events_url":"https://api.github.com/repos/Sushinn/spark-setup-android/events","assignees_url":"https://api.github.com/repos/Sushinn/spark-setup-android/assignees{/user}","branches_url":"https://api.github.com/repos/Sushinn/spark-setup-android/branches{/branch}","tags_url":"https://api.github.com/repos/Sushinn/spark-setup-android/tags","blobs_url":"https://api.github.com/repos/Sushinn/spark-setup-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sushinn/spark-setup-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sushinn/spark-setup-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sushinn/spark-setup-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sushinn/spark-setup-android/statuses/{sha}","languages_url":"https://api.github.com/repos/Sushinn/spark-setup-android/languages","stargazers_url":"https://api.github.com/repos/Sushinn/spark-setup-android/stargazers","contributors_url":"https://api.github.com/repos/Sushinn/spark-setup-android/contributors","subscribers_url":"https://api.github.com/repos/Sushinn/spark-setup-android/subscribers","subscription_url":"https://api.github.com/repos/Sushinn/spark-setup-android/subscription","commits_url":"https://api.github.com/repos/Sushinn/spark-setup-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sushinn/spark-setup-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sushinn/spark-setup-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sushinn/spark-setup-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sushinn/spark-setup-android/contents/{+path}","compare_url":"https://api.github.com/repos/Sushinn/spark-setup-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sushinn/spark-setup-android/merges","archive_url":"https://api.github.com/repos/Sushinn/spark-setup-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sushinn/spark-setup-android/downloads","issues_url":"https://api.github.com/repos/Sushinn/spark-setup-android/issues{/number}","pulls_url":"https://api.github.com/repos/Sushinn/spark-setup-android/pulls{/number}","milestones_url":"https://api.github.com/repos/Sushinn/spark-setup-android/milestones{/number}","notifications_url":"https://api.github.com/repos/Sushinn/spark-setup-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sushinn/spark-setup-android/labels{/name}","releases_url":"https://api.github.com/repos/Sushinn/spark-setup-android/releases{/id}","deployments_url":"https://api.github.com/repos/Sushinn/spark-setup-android/deployments","created_at":"2016-04-26T22:31:30Z","updated_at":"2016-04-26T22:31:31Z","pushed_at":"2016-04-28T20:12:58Z","git_url":"git://github.com/Sushinn/spark-setup-android.git","ssh_url":"git@github.com:Sushinn/spark-setup-android.git","clone_url":"https://github.com/Sushinn/spark-setup-android.git","svn_url":"https://github.com/Sushinn/spark-setup-android","homepage":null,"size":1051,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spark:master","ref":"master","sha":"2bcadd3c2ad491d305ea7761b1a64bf4001f6dd2","user":{"login":"spark","id":2348966,"avatar_url":"https://avatars.githubusercontent.com/u/2348966?v=3","gravatar_id":"","url":"https://api.github.com/users/spark","html_url":"https://github.com/spark","followers_url":"https://api.github.com/users/spark/followers","following_url":"https://api.github.com/users/spark/following{/other_user}","gists_url":"https://api.github.com/users/spark/gists{/gist_id}","starred_url":"https://api.github.com/users/spark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark/subscriptions","organizations_url":"https://api.github.com/users/spark/orgs","repos_url":"https://api.github.com/users/spark/repos","events_url":"https://api.github.com/users/spark/events{/privacy}","received_events_url":"https://api.github.com/users/spark/received_events","type":"Organization","site_admin":false},"repo":{"id":34549545,"name":"spark-setup-android","full_name":"spark/spark-setup-android","owner":{"login":"spark","id":2348966,"avatar_url":"https://avatars.githubusercontent.com/u/2348966?v=3","gravatar_id":"","url":"https://api.github.com/users/spark","html_url":"https://github.com/spark","followers_url":"https://api.github.com/users/spark/followers","following_url":"https://api.github.com/users/spark/following{/other_user}","gists_url":"https://api.github.com/users/spark/gists{/gist_id}","starred_url":"https://api.github.com/users/spark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark/subscriptions","organizations_url":"https://api.github.com/users/spark/orgs","repos_url":"https://api.github.com/users/spark/repos","events_url":"https://api.github.com/users/spark/events{/privacy}","received_events_url":"https://api.github.com/users/spark/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spark/spark-setup-android","description":"Spark Device Setup library for Android","fork":false,"url":"https://api.github.com/repos/spark/spark-setup-android","forks_url":"https://api.github.com/repos/spark/spark-setup-android/forks","keys_url":"https://api.github.com/repos/spark/spark-setup-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spark/spark-setup-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spark/spark-setup-android/teams","hooks_url":"https://api.github.com/repos/spark/spark-setup-android/hooks","issue_events_url":"https://api.github.com/repos/spark/spark-setup-android/issues/events{/number}","events_url":"https://api.github.com/repos/spark/spark-setup-android/events","assignees_url":"https://api.github.com/repos/spark/spark-setup-android/assignees{/user}","branches_url":"https://api.github.com/repos/spark/spark-setup-android/branches{/branch}","tags_url":"https://api.github.com/repos/spark/spark-setup-android/tags","blobs_url":"https://api.github.com/repos/spark/spark-setup-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spark/spark-setup-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spark/spark-setup-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/spark/spark-setup-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spark/spark-setup-android/statuses/{sha}","languages_url":"https://api.github.com/repos/spark/spark-setup-android/languages","stargazers_url":"https://api.github.com/repos/spark/spark-setup-android/stargazers","contributors_url":"https://api.github.com/repos/spark/spark-setup-android/contributors","subscribers_url":"https://api.github.com/repos/spark/spark-setup-android/subscribers","subscription_url":"https://api.github.com/repos/spark/spark-setup-android/subscription","commits_url":"https://api.github.com/repos/spark/spark-setup-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/spark/spark-setup-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/spark/spark-setup-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/spark/spark-setup-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/spark/spark-setup-android/contents/{+path}","compare_url":"https://api.github.com/repos/spark/spark-setup-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spark/spark-setup-android/merges","archive_url":"https://api.github.com/repos/spark/spark-setup-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spark/spark-setup-android/downloads","issues_url":"https://api.github.com/repos/spark/spark-setup-android/issues{/number}","pulls_url":"https://api.github.com/repos/spark/spark-setup-android/pulls{/number}","milestones_url":"https://api.github.com/repos/spark/spark-setup-android/milestones{/number}","notifications_url":"https://api.github.com/repos/spark/spark-setup-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spark/spark-setup-android/labels{/name}","releases_url":"https://api.github.com/repos/spark/spark-setup-android/releases{/id}","deployments_url":"https://api.github.com/repos/spark/spark-setup-android/deployments","created_at":"2015-04-25T01:05:11Z","updated_at":"2016-06-13T15:02:44Z","pushed_at":"2016-04-28T14:31:40Z","git_url":"git://github.com/spark/spark-setup-android.git","ssh_url":"git@github.com:spark/spark-setup-android.git","clone_url":"https://github.com/spark/spark-setup-android.git","svn_url":"https://github.com/spark/spark-setup-android","homepage":null,"size":1022,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":1,"forks":16,"open_issues":1,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spark/spark-setup-android/pulls/20"},"html":{"href":"https://github.com/spark/spark-setup-android/pull/20"},"issue":{"href":"https://api.github.com/repos/spark/spark-setup-android/issues/20"},"comments":{"href":"https://api.github.com/repos/spark/spark-setup-android/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/spark/spark-setup-android/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/spark/spark-setup-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spark/spark-setup-android/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/spark/spark-setup-android/statuses/809d3729c54dba81108a43e40abea93e7694d554"}}}}
{"actor":{"display_login":"jensck"}}