{"action":"created","comment":{"url":"https://api.github.com/repos/kaaproject/sample-apps/pulls/comments/88854118","pull_request_review_id":9412951,"id":88854118,"diff_hunk":"@@ -0,0 +1,149 @@\n+/**\n+ * Copyright 2014-2016 CyberVision, Inc.\n+ * <p/>\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ * <p/>\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ * <p/>\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package org.kaaproject.kaa.demo.photoframe.activities;\n+\n+import android.annotation.TargetApi;\n+import android.content.Context;\n+import android.content.Intent;\n+import android.os.Build;\n+import android.os.Bundle;\n+import android.os.Handler;\n+import android.support.v4.view.ViewPager;\n+import android.view.View;\n+import android.view.Window;\n+import android.view.WindowManager;\n+import android.widget.Toast;\n+\n+import org.greenrobot.eventbus.Subscribe;\n+import org.kaaproject.kaa.demo.photoframe.PlayStatus;\n+import org.kaaproject.kaa.demo.photoframe.R;\n+import org.kaaproject.kaa.demo.photoframe.adapter.SlideshowPageAdapter;\n+import org.kaaproject.kaa.demo.photoframe.communication.Events;\n+\n+public class SlideshowActivity extends BaseActivity {\n+\n+\n+    private static final String BUCKET_ID = \"bucketId\";\n+    private static final int SLIDESHOW_INTERVAL_MS = 5000;\n+\n+    ViewPager mViewPager;\n+\n+    private SlideshowPageAdapter mSlideShowPagerAdapter;\n+\n+    private Handler mSlideshowHandler = new Handler();","path":"photoframe/source/app/src/main/java/org/kaaproject/kaa/demo/photoframe/activities/SlideshowActivity.java","position":47,"original_position":47,"commit_id":"647259a8c1be3b3aca86496b5e0230d0256f2509","original_commit_id":"647259a8c1be3b3aca86496b5e0230d0256f2509","user":{"login":"tonyshkurenko","id":8597964,"avatar_url":"https://avatars.githubusercontent.com/u/8597964?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyshkurenko","html_url":"https://github.com/tonyshkurenko","followers_url":"https://api.github.com/users/tonyshkurenko/followers","following_url":"https://api.github.com/users/tonyshkurenko/following{/other_user}","gists_url":"https://api.github.com/users/tonyshkurenko/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyshkurenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyshkurenko/subscriptions","organizations_url":"https://api.github.com/users/tonyshkurenko/orgs","repos_url":"https://api.github.com/users/tonyshkurenko/repos","events_url":"https://api.github.com/users/tonyshkurenko/events{/privacy}","received_events_url":"https://api.github.com/users/tonyshkurenko/received_events","type":"User","site_admin":false},"body":"It's a field, not a inner subclass of a Handler class","created_at":"2016-11-21T09:21:19Z","updated_at":"2016-11-21T09:21:20Z","html_url":"https://github.com/kaaproject/sample-apps/pull/467#discussion_r88854118","pull_request_url":"https://api.github.com/repos/kaaproject/sample-apps/pulls/467","_links":{"self":{"href":"https://api.github.com/repos/kaaproject/sample-apps/pulls/comments/88854118"},"html":{"href":"https://github.com/kaaproject/sample-apps/pull/467#discussion_r88854118"},"pull_request":{"href":"https://api.github.com/repos/kaaproject/sample-apps/pulls/467"}}},"pull_request":{"url":"https://api.github.com/repos/kaaproject/sample-apps/pulls/467","id":93977920,"html_url":"https://github.com/kaaproject/sample-apps/pull/467","diff_url":"https://github.com/kaaproject/sample-apps/pull/467.diff","patch_url":"https://github.com/kaaproject/sample-apps/pull/467.patch","issue_url":"https://api.github.com/repos/kaaproject/sample-apps/issues/467","number":467,"state":"open","locked":false,"title":"APP-453: Update photoframe","user":{"login":"tonyshkurenko","id":8597964,"avatar_url":"https://avatars.githubusercontent.com/u/8597964?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyshkurenko","html_url":"https://github.com/tonyshkurenko","followers_url":"https://api.github.com/users/tonyshkurenko/followers","following_url":"https://api.github.com/users/tonyshkurenko/following{/other_user}","gists_url":"https://api.github.com/users/tonyshkurenko/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyshkurenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyshkurenko/subscriptions","organizations_url":"https://api.github.com/users/tonyshkurenko/orgs","repos_url":"https://api.github.com/users/tonyshkurenko/repos","events_url":"https://api.github.com/users/tonyshkurenko/events{/privacy}","received_events_url":"https://api.github.com/users/tonyshkurenko/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-16T14:39:53Z","updated_at":"2016-11-21T09:21:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"221ad469fa51603304cb8cfe270b35e27dd3dee4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kaaproject/sample-apps/pulls/467/commits","review_comments_url":"https://api.github.com/repos/kaaproject/sample-apps/pulls/467/comments","review_comment_url":"https://api.github.com/repos/kaaproject/sample-apps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kaaproject/sample-apps/issues/467/comments","statuses_url":"https://api.github.com/repos/kaaproject/sample-apps/statuses/647259a8c1be3b3aca86496b5e0230d0256f2509","head":{"label":"tonyshkurenko:feature/update_photo_frame_2_0_1","ref":"feature/update_photo_frame_2_0_1","sha":"647259a8c1be3b3aca86496b5e0230d0256f2509","user":{"login":"tonyshkurenko","id":8597964,"avatar_url":"https://avatars.githubusercontent.com/u/8597964?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyshkurenko","html_url":"https://github.com/tonyshkurenko","followers_url":"https://api.github.com/users/tonyshkurenko/followers","following_url":"https://api.github.com/users/tonyshkurenko/following{/other_user}","gists_url":"https://api.github.com/users/tonyshkurenko/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyshkurenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyshkurenko/subscriptions","organizations_url":"https://api.github.com/users/tonyshkurenko/orgs","repos_url":"https://api.github.com/users/tonyshkurenko/repos","events_url":"https://api.github.com/users/tonyshkurenko/events{/privacy}","received_events_url":"https://api.github.com/users/tonyshkurenko/received_events","type":"User","site_admin":false},"repo":{"id":71993423,"name":"sample-apps","full_name":"tonyshkurenko/sample-apps","owner":{"login":"tonyshkurenko","id":8597964,"avatar_url":"https://avatars.githubusercontent.com/u/8597964?v=3","gravatar_id":"","url":"https://api.github.com/users/tonyshkurenko","html_url":"https://github.com/tonyshkurenko","followers_url":"https://api.github.com/users/tonyshkurenko/followers","following_url":"https://api.github.com/users/tonyshkurenko/following{/other_user}","gists_url":"https://api.github.com/users/tonyshkurenko/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyshkurenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyshkurenko/subscriptions","organizations_url":"https://api.github.com/users/tonyshkurenko/orgs","repos_url":"https://api.github.com/users/tonyshkurenko/repos","events_url":"https://api.github.com/users/tonyshkurenko/events{/privacy}","received_events_url":"https://api.github.com/users/tonyshkurenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tonyshkurenko/sample-apps","description":"Sample applications for Kaa Sandbox","fork":true,"url":"https://api.github.com/repos/tonyshkurenko/sample-apps","forks_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/forks","keys_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/teams","hooks_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/hooks","issue_events_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/issues/events{/number}","events_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/events","assignees_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/assignees{/user}","branches_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/branches{/branch}","tags_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/tags","blobs_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/languages","stargazers_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/stargazers","contributors_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/contributors","subscribers_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/subscribers","subscription_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/subscription","commits_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/contents/{+path}","compare_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/merges","archive_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/downloads","issues_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/issues{/number}","pulls_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/labels{/name}","releases_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/releases{/id}","deployments_url":"https://api.github.com/repos/tonyshkurenko/sample-apps/deployments","created_at":"2016-10-26T10:42:46Z","updated_at":"2016-10-26T10:42:53Z","pushed_at":"2016-11-18T13:58:39Z","git_url":"git://github.com/tonyshkurenko/sample-apps.git","ssh_url":"git@github.com:tonyshkurenko/sample-apps.git","clone_url":"https://github.com/tonyshkurenko/sample-apps.git","svn_url":"https://github.com/tonyshkurenko/sample-apps","homepage":null,"size":228325,"stargazers_count":0,"watchers_count":0,"language":"C","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":"kaaproject:release-2.0","ref":"release-2.0","sha":"89ad7585556f4aecb85b5194eab4c40643aaba2a","user":{"login":"kaaproject","id":6984613,"avatar_url":"https://avatars.githubusercontent.com/u/6984613?v=3","gravatar_id":"","url":"https://api.github.com/users/kaaproject","html_url":"https://github.com/kaaproject","followers_url":"https://api.github.com/users/kaaproject/followers","following_url":"https://api.github.com/users/kaaproject/following{/other_user}","gists_url":"https://api.github.com/users/kaaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kaaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaaproject/subscriptions","organizations_url":"https://api.github.com/users/kaaproject/orgs","repos_url":"https://api.github.com/users/kaaproject/repos","events_url":"https://api.github.com/users/kaaproject/events{/privacy}","received_events_url":"https://api.github.com/users/kaaproject/received_events","type":"Organization","site_admin":false},"repo":{"id":40200503,"name":"sample-apps","full_name":"kaaproject/sample-apps","owner":{"login":"kaaproject","id":6984613,"avatar_url":"https://avatars.githubusercontent.com/u/6984613?v=3","gravatar_id":"","url":"https://api.github.com/users/kaaproject","html_url":"https://github.com/kaaproject","followers_url":"https://api.github.com/users/kaaproject/followers","following_url":"https://api.github.com/users/kaaproject/following{/other_user}","gists_url":"https://api.github.com/users/kaaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kaaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaaproject/subscriptions","organizations_url":"https://api.github.com/users/kaaproject/orgs","repos_url":"https://api.github.com/users/kaaproject/repos","events_url":"https://api.github.com/users/kaaproject/events{/privacy}","received_events_url":"https://api.github.com/users/kaaproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaaproject/sample-apps","description":"Sample applications for Kaa Sandbox","fork":false,"url":"https://api.github.com/repos/kaaproject/sample-apps","forks_url":"https://api.github.com/repos/kaaproject/sample-apps/forks","keys_url":"https://api.github.com/repos/kaaproject/sample-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaaproject/sample-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaaproject/sample-apps/teams","hooks_url":"https://api.github.com/repos/kaaproject/sample-apps/hooks","issue_events_url":"https://api.github.com/repos/kaaproject/sample-apps/issues/events{/number}","events_url":"https://api.github.com/repos/kaaproject/sample-apps/events","assignees_url":"https://api.github.com/repos/kaaproject/sample-apps/assignees{/user}","branches_url":"https://api.github.com/repos/kaaproject/sample-apps/branches{/branch}","tags_url":"https://api.github.com/repos/kaaproject/sample-apps/tags","blobs_url":"https://api.github.com/repos/kaaproject/sample-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaaproject/sample-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaaproject/sample-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaaproject/sample-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaaproject/sample-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/kaaproject/sample-apps/languages","stargazers_url":"https://api.github.com/repos/kaaproject/sample-apps/stargazers","contributors_url":"https://api.github.com/repos/kaaproject/sample-apps/contributors","subscribers_url":"https://api.github.com/repos/kaaproject/sample-apps/subscribers","subscription_url":"https://api.github.com/repos/kaaproject/sample-apps/subscription","commits_url":"https://api.github.com/repos/kaaproject/sample-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaaproject/sample-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaaproject/sample-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaaproject/sample-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaaproject/sample-apps/contents/{+path}","compare_url":"https://api.github.com/repos/kaaproject/sample-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaaproject/sample-apps/merges","archive_url":"https://api.github.com/repos/kaaproject/sample-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaaproject/sample-apps/downloads","issues_url":"https://api.github.com/repos/kaaproject/sample-apps/issues{/number}","pulls_url":"https://api.github.com/repos/kaaproject/sample-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/kaaproject/sample-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/kaaproject/sample-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaaproject/sample-apps/labels{/name}","releases_url":"https://api.github.com/repos/kaaproject/sample-apps/releases{/id}","deployments_url":"https://api.github.com/repos/kaaproject/sample-apps/deployments","created_at":"2015-08-04T18:03:04Z","updated_at":"2016-11-03T16:18:23Z","pushed_at":"2016-11-18T15:35:50Z","git_url":"git://github.com/kaaproject/sample-apps.git","ssh_url":"git@github.com:kaaproject/sample-apps.git","clone_url":"https://github.com/kaaproject/sample-apps.git","svn_url":"https://github.com/kaaproject/sample-apps","homepage":null,"size":267994,"stargazers_count":17,"watchers_count":17,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":10,"forks":55,"open_issues":10,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kaaproject/sample-apps/pulls/467"},"html":{"href":"https://github.com/kaaproject/sample-apps/pull/467"},"issue":{"href":"https://api.github.com/repos/kaaproject/sample-apps/issues/467"},"comments":{"href":"https://api.github.com/repos/kaaproject/sample-apps/issues/467/comments"},"review_comments":{"href":"https://api.github.com/repos/kaaproject/sample-apps/pulls/467/comments"},"review_comment":{"href":"https://api.github.com/repos/kaaproject/sample-apps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kaaproject/sample-apps/pulls/467/commits"},"statuses":{"href":"https://api.github.com/repos/kaaproject/sample-apps/statuses/647259a8c1be3b3aca86496b5e0230d0256f2509"}}}}
{"actor":{"display_login":"tonyshkurenko"}}