{"action":"created","comment":{"url":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/comments/143337447","pull_request_review_id":67839876,"id":143337447,"diff_hunk":"@@ -0,0 +1,87 @@\n+package com.albosdevelopment.moviesdatabase;\n+\n+import android.content.Intent;\n+import android.os.Bundle;\n+import android.support.v7.app.AppCompatActivity;\n+import android.support.v7.widget.GridLayoutManager;\n+import android.support.v7.widget.RecyclerView;\n+import android.support.v7.widget.Toolbar;\n+import android.util.Log;\n+import android.view.MenuItem;\n+import android.view.View;\n+\n+import com.albosdevelopment.moviesdatabase.activity.GalleryScreenSlidePagerActivity;\n+import com.albosdevelopment.moviesdatabase.data.adapter.ImageGalleryAdapter;\n+import com.albosdevelopment.moviesdatabase.data.models.DetailsModel.MoviesTvShowsCommon.BackdropModel;\n+\n+import java.util.ArrayList;\n+\n+import butterknife.BindView;\n+import butterknife.ButterKnife;\n+\n+public class GalleryActivity extends AppCompatActivity {\n+\n+    @BindView(R.id.toolbar_gallery_title)\n+    Toolbar galleryTitleToolbar;\n+    @BindView(R.id.toolbar_gallery_image_number)\n+    Toolbar galleryImageNumberToolbar;\n+    @BindView(R.id.gallery_images_recycler_view)\n+    RecyclerView galleryRecyclerView;\n+\n+    RecyclerView.LayoutManager mGalleryLayoutManager;\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.activity_gallery);\n+        ButterKnife.bind(this);\n+\n+        final Intent intent = getIntent();\n+        final String activityType = intent.getStringExtra(\"activity_type\");\n+\n+        getSupportActionBar().setDisplayHomeAsUpEnabled(true);\n+        getSupportActionBar().setTitle(activityType);\n+\n+        final ArrayList<BackdropModel> backdropModelsList = intent.getParcelableArrayListExtra(\"backdrop_arraylist\");\n+        Log.i(\"numberofbms\", \"\" + backdropModelsList.size());\n+        final String title = intent.getStringExtra(\"title\");\n+        final String year = intent.getStringExtra(\"year\");\n+\n+        galleryTitleToolbar.setTitle(\"Image Gallery : \" + title + \" \" + year);\n+        galleryImageNumberToolbar.setTitle(backdropModelsList.size() + \" images\");\n+\n+        mGalleryLayoutManager = new GridLayoutManager(getApplicationContext(), 3);","path":"app/src/main/java/com/albosdevelopment/moviesdatabase/GalleryActivity.java","position":53,"original_position":53,"commit_id":"8844d49d202936230c51a707b79290037345f96d","original_commit_id":"8844d49d202936230c51a707b79290037345f96d","user":{"login":"adipr","id":20042614,"avatar_url":"https://avatars1.githubusercontent.com/u/20042614?v=4","gravatar_id":"","url":"https://api.github.com/users/adipr","html_url":"https://github.com/adipr","followers_url":"https://api.github.com/users/adipr/followers","following_url":"https://api.github.com/users/adipr/following{/other_user}","gists_url":"https://api.github.com/users/adipr/gists{/gist_id}","starred_url":"https://api.github.com/users/adipr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adipr/subscriptions","organizations_url":"https://api.github.com/users/adipr/orgs","repos_url":"https://api.github.com/users/adipr/repos","events_url":"https://api.github.com/users/adipr/events{/privacy}","received_events_url":"https://api.github.com/users/adipr/received_events","type":"User","site_admin":false},"body":"Dont't use getApplicationContext()","created_at":"2017-10-07T18:32:06Z","updated_at":"2017-10-07T18:32:06Z","html_url":"https://github.com/vedo98/VedadProjekat/pull/7#discussion_r143337447","pull_request_url":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/7","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/comments/143337447"},"html":{"href":"https://github.com/vedo98/VedadProjekat/pull/7#discussion_r143337447"},"pull_request":{"href":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/7","id":145289828,"html_url":"https://github.com/vedo98/VedadProjekat/pull/7","diff_url":"https://github.com/vedo98/VedadProjekat/pull/7.diff","patch_url":"https://github.com/vedo98/VedadProjekat/pull/7.patch","issue_url":"https://api.github.com/repos/vedo98/VedadProjekat/issues/7","number":7,"state":"open","locked":false,"title":"-Image gallery added for Movies and Tv Shows.","user":{"login":"vedo98","id":25328905,"avatar_url":"https://avatars2.githubusercontent.com/u/25328905?v=4","gravatar_id":"","url":"https://api.github.com/users/vedo98","html_url":"https://github.com/vedo98","followers_url":"https://api.github.com/users/vedo98/followers","following_url":"https://api.github.com/users/vedo98/following{/other_user}","gists_url":"https://api.github.com/users/vedo98/gists{/gist_id}","starred_url":"https://api.github.com/users/vedo98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedo98/subscriptions","organizations_url":"https://api.github.com/users/vedo98/orgs","repos_url":"https://api.github.com/users/vedo98/repos","events_url":"https://api.github.com/users/vedo98/events{/privacy}","received_events_url":"https://api.github.com/users/vedo98/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-07T12:32:49Z","updated_at":"2017-10-07T18:32:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"457ca8ee6e2c2e27f8f81e356c190ddc3fd90c54","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/7/commits","review_comments_url":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/7/comments","review_comment_url":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vedo98/VedadProjekat/issues/7/comments","statuses_url":"https://api.github.com/repos/vedo98/VedadProjekat/statuses/8844d49d202936230c51a707b79290037345f96d","head":{"label":"vedo98:image_gallery","ref":"image_gallery","sha":"8844d49d202936230c51a707b79290037345f96d","user":{"login":"vedo98","id":25328905,"avatar_url":"https://avatars2.githubusercontent.com/u/25328905?v=4","gravatar_id":"","url":"https://api.github.com/users/vedo98","html_url":"https://github.com/vedo98","followers_url":"https://api.github.com/users/vedo98/followers","following_url":"https://api.github.com/users/vedo98/following{/other_user}","gists_url":"https://api.github.com/users/vedo98/gists{/gist_id}","starred_url":"https://api.github.com/users/vedo98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedo98/subscriptions","organizations_url":"https://api.github.com/users/vedo98/orgs","repos_url":"https://api.github.com/users/vedo98/repos","events_url":"https://api.github.com/users/vedo98/events{/privacy}","received_events_url":"https://api.github.com/users/vedo98/received_events","type":"User","site_admin":false},"repo":{"id":104798715,"name":"VedadProjekat","full_name":"vedo98/VedadProjekat","owner":{"login":"vedo98","id":25328905,"avatar_url":"https://avatars2.githubusercontent.com/u/25328905?v=4","gravatar_id":"","url":"https://api.github.com/users/vedo98","html_url":"https://github.com/vedo98","followers_url":"https://api.github.com/users/vedo98/followers","following_url":"https://api.github.com/users/vedo98/following{/other_user}","gists_url":"https://api.github.com/users/vedo98/gists{/gist_id}","starred_url":"https://api.github.com/users/vedo98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedo98/subscriptions","organizations_url":"https://api.github.com/users/vedo98/orgs","repos_url":"https://api.github.com/users/vedo98/repos","events_url":"https://api.github.com/users/vedo98/events{/privacy}","received_events_url":"https://api.github.com/users/vedo98/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vedo98/VedadProjekat","description":null,"fork":false,"url":"https://api.github.com/repos/vedo98/VedadProjekat","forks_url":"https://api.github.com/repos/vedo98/VedadProjekat/forks","keys_url":"https://api.github.com/repos/vedo98/VedadProjekat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vedo98/VedadProjekat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vedo98/VedadProjekat/teams","hooks_url":"https://api.github.com/repos/vedo98/VedadProjekat/hooks","issue_events_url":"https://api.github.com/repos/vedo98/VedadProjekat/issues/events{/number}","events_url":"https://api.github.com/repos/vedo98/VedadProjekat/events","assignees_url":"https://api.github.com/repos/vedo98/VedadProjekat/assignees{/user}","branches_url":"https://api.github.com/repos/vedo98/VedadProjekat/branches{/branch}","tags_url":"https://api.github.com/repos/vedo98/VedadProjekat/tags","blobs_url":"https://api.github.com/repos/vedo98/VedadProjekat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vedo98/VedadProjekat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vedo98/VedadProjekat/git/refs{/sha}","trees_url":"https://api.github.com/repos/vedo98/VedadProjekat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vedo98/VedadProjekat/statuses/{sha}","languages_url":"https://api.github.com/repos/vedo98/VedadProjekat/languages","stargazers_url":"https://api.github.com/repos/vedo98/VedadProjekat/stargazers","contributors_url":"https://api.github.com/repos/vedo98/VedadProjekat/contributors","subscribers_url":"https://api.github.com/repos/vedo98/VedadProjekat/subscribers","subscription_url":"https://api.github.com/repos/vedo98/VedadProjekat/subscription","commits_url":"https://api.github.com/repos/vedo98/VedadProjekat/commits{/sha}","git_commits_url":"https://api.github.com/repos/vedo98/VedadProjekat/git/commits{/sha}","comments_url":"https://api.github.com/repos/vedo98/VedadProjekat/comments{/number}","issue_comment_url":"https://api.github.com/repos/vedo98/VedadProjekat/issues/comments{/number}","contents_url":"https://api.github.com/repos/vedo98/VedadProjekat/contents/{+path}","compare_url":"https://api.github.com/repos/vedo98/VedadProjekat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vedo98/VedadProjekat/merges","archive_url":"https://api.github.com/repos/vedo98/VedadProjekat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vedo98/VedadProjekat/downloads","issues_url":"https://api.github.com/repos/vedo98/VedadProjekat/issues{/number}","pulls_url":"https://api.github.com/repos/vedo98/VedadProjekat/pulls{/number}","milestones_url":"https://api.github.com/repos/vedo98/VedadProjekat/milestones{/number}","notifications_url":"https://api.github.com/repos/vedo98/VedadProjekat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vedo98/VedadProjekat/labels{/name}","releases_url":"https://api.github.com/repos/vedo98/VedadProjekat/releases{/id}","deployments_url":"https://api.github.com/repos/vedo98/VedadProjekat/deployments","created_at":"2017-09-25T20:27:48Z","updated_at":"2017-09-25T20:28:23Z","pushed_at":"2017-10-07T12:32:50Z","git_url":"git://github.com/vedo98/VedadProjekat.git","ssh_url":"git@github.com:vedo98/VedadProjekat.git","clone_url":"https://github.com/vedo98/VedadProjekat.git","svn_url":"https://github.com/vedo98/VedadProjekat","homepage":null,"size":615,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"vedo98:master","ref":"master","sha":"60c9122e058071c7e842557b62aca620ef59e8ab","user":{"login":"vedo98","id":25328905,"avatar_url":"https://avatars2.githubusercontent.com/u/25328905?v=4","gravatar_id":"","url":"https://api.github.com/users/vedo98","html_url":"https://github.com/vedo98","followers_url":"https://api.github.com/users/vedo98/followers","following_url":"https://api.github.com/users/vedo98/following{/other_user}","gists_url":"https://api.github.com/users/vedo98/gists{/gist_id}","starred_url":"https://api.github.com/users/vedo98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedo98/subscriptions","organizations_url":"https://api.github.com/users/vedo98/orgs","repos_url":"https://api.github.com/users/vedo98/repos","events_url":"https://api.github.com/users/vedo98/events{/privacy}","received_events_url":"https://api.github.com/users/vedo98/received_events","type":"User","site_admin":false},"repo":{"id":104798715,"name":"VedadProjekat","full_name":"vedo98/VedadProjekat","owner":{"login":"vedo98","id":25328905,"avatar_url":"https://avatars2.githubusercontent.com/u/25328905?v=4","gravatar_id":"","url":"https://api.github.com/users/vedo98","html_url":"https://github.com/vedo98","followers_url":"https://api.github.com/users/vedo98/followers","following_url":"https://api.github.com/users/vedo98/following{/other_user}","gists_url":"https://api.github.com/users/vedo98/gists{/gist_id}","starred_url":"https://api.github.com/users/vedo98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedo98/subscriptions","organizations_url":"https://api.github.com/users/vedo98/orgs","repos_url":"https://api.github.com/users/vedo98/repos","events_url":"https://api.github.com/users/vedo98/events{/privacy}","received_events_url":"https://api.github.com/users/vedo98/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vedo98/VedadProjekat","description":null,"fork":false,"url":"https://api.github.com/repos/vedo98/VedadProjekat","forks_url":"https://api.github.com/repos/vedo98/VedadProjekat/forks","keys_url":"https://api.github.com/repos/vedo98/VedadProjekat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vedo98/VedadProjekat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vedo98/VedadProjekat/teams","hooks_url":"https://api.github.com/repos/vedo98/VedadProjekat/hooks","issue_events_url":"https://api.github.com/repos/vedo98/VedadProjekat/issues/events{/number}","events_url":"https://api.github.com/repos/vedo98/VedadProjekat/events","assignees_url":"https://api.github.com/repos/vedo98/VedadProjekat/assignees{/user}","branches_url":"https://api.github.com/repos/vedo98/VedadProjekat/branches{/branch}","tags_url":"https://api.github.com/repos/vedo98/VedadProjekat/tags","blobs_url":"https://api.github.com/repos/vedo98/VedadProjekat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vedo98/VedadProjekat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vedo98/VedadProjekat/git/refs{/sha}","trees_url":"https://api.github.com/repos/vedo98/VedadProjekat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vedo98/VedadProjekat/statuses/{sha}","languages_url":"https://api.github.com/repos/vedo98/VedadProjekat/languages","stargazers_url":"https://api.github.com/repos/vedo98/VedadProjekat/stargazers","contributors_url":"https://api.github.com/repos/vedo98/VedadProjekat/contributors","subscribers_url":"https://api.github.com/repos/vedo98/VedadProjekat/subscribers","subscription_url":"https://api.github.com/repos/vedo98/VedadProjekat/subscription","commits_url":"https://api.github.com/repos/vedo98/VedadProjekat/commits{/sha}","git_commits_url":"https://api.github.com/repos/vedo98/VedadProjekat/git/commits{/sha}","comments_url":"https://api.github.com/repos/vedo98/VedadProjekat/comments{/number}","issue_comment_url":"https://api.github.com/repos/vedo98/VedadProjekat/issues/comments{/number}","contents_url":"https://api.github.com/repos/vedo98/VedadProjekat/contents/{+path}","compare_url":"https://api.github.com/repos/vedo98/VedadProjekat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vedo98/VedadProjekat/merges","archive_url":"https://api.github.com/repos/vedo98/VedadProjekat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vedo98/VedadProjekat/downloads","issues_url":"https://api.github.com/repos/vedo98/VedadProjekat/issues{/number}","pulls_url":"https://api.github.com/repos/vedo98/VedadProjekat/pulls{/number}","milestones_url":"https://api.github.com/repos/vedo98/VedadProjekat/milestones{/number}","notifications_url":"https://api.github.com/repos/vedo98/VedadProjekat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vedo98/VedadProjekat/labels{/name}","releases_url":"https://api.github.com/repos/vedo98/VedadProjekat/releases{/id}","deployments_url":"https://api.github.com/repos/vedo98/VedadProjekat/deployments","created_at":"2017-09-25T20:27:48Z","updated_at":"2017-09-25T20:28:23Z","pushed_at":"2017-10-07T12:32:50Z","git_url":"git://github.com/vedo98/VedadProjekat.git","ssh_url":"git@github.com:vedo98/VedadProjekat.git","clone_url":"https://github.com/vedo98/VedadProjekat.git","svn_url":"https://github.com/vedo98/VedadProjekat","homepage":null,"size":615,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/7"},"html":{"href":"https://github.com/vedo98/VedadProjekat/pull/7"},"issue":{"href":"https://api.github.com/repos/vedo98/VedadProjekat/issues/7"},"comments":{"href":"https://api.github.com/repos/vedo98/VedadProjekat/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vedo98/VedadProjekat/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/vedo98/VedadProjekat/statuses/8844d49d202936230c51a707b79290037345f96d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"adipr"}}