{"action":"created","comment":{"url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/comments/117797827","pull_request_review_id":39531566,"id":117797827,"diff_hunk":"@@ -0,0 +1,30 @@\n+package tech.zafrani.companionforpubg.activities;\n+\n+import android.os.Bundle;\n+import android.support.annotation.LayoutRes;\n+import android.support.annotation.Nullable;\n+import android.support.v7.app.AppCompatActivity;\n+\n+import butterknife.ButterKnife;\n+import butterknife.Unbinder;\n+\n+public abstract class BaseActivity extends AppCompatActivity {\n+\n+    private Unbinder unbinder = Unbinder.EMPTY;\n+\n+    @Override\n+    protected void onCreate(@Nullable Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(getLayoutRes());\n+        unbinder = ButterKnife.bind(this);\n+    }\n+\n+    @LayoutRes\n+    protected abstract int getLayoutRes();\n+\n+    @Override\n+    protected void onDestroy() {","path":"app/src/main/java/tech/zafrani/companionforpubg/activities/BaseActivity.java","position":26,"original_position":26,"commit_id":"cf053c0c983ab56ab51faebbfd642ce48e561e59","original_commit_id":"cf053c0c983ab56ab51faebbfd642ce48e561e59","user":{"login":"zafrani","id":4250407,"avatar_url":"https://avatars3.githubusercontent.com/u/4250407?v=3","gravatar_id":"","url":"https://api.github.com/users/zafrani","html_url":"https://github.com/zafrani","followers_url":"https://api.github.com/users/zafrani/followers","following_url":"https://api.github.com/users/zafrani/following{/other_user}","gists_url":"https://api.github.com/users/zafrani/gists{/gist_id}","starred_url":"https://api.github.com/users/zafrani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zafrani/subscriptions","organizations_url":"https://api.github.com/users/zafrani/orgs","repos_url":"https://api.github.com/users/zafrani/repos","events_url":"https://api.github.com/users/zafrani/events{/privacy}","received_events_url":"https://api.github.com/users/zafrani/received_events","type":"User","site_admin":false},"body":"This should also have the `@CallSuper` annotation","created_at":"2017-05-22T17:10:17Z","updated_at":"2017-05-22T17:22:03Z","html_url":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android/pull/49#discussion_r117797827","pull_request_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/comments/117797827"},"html":{"href":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android/pull/49#discussion_r117797827"},"pull_request":{"href":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/49","id":121701907,"html_url":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android/pull/49","diff_url":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android/pull/49.diff","patch_url":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android/pull/49.patch","issue_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/issues/49","number":49,"state":"open","locked":false,"title":"Added Butterknife and BaseFragment, updated BaseActivity","user":{"login":"Jon6193","id":5856900,"avatar_url":"https://avatars1.githubusercontent.com/u/5856900?v=3","gravatar_id":"","url":"https://api.github.com/users/Jon6193","html_url":"https://github.com/Jon6193","followers_url":"https://api.github.com/users/Jon6193/followers","following_url":"https://api.github.com/users/Jon6193/following{/other_user}","gists_url":"https://api.github.com/users/Jon6193/gists{/gist_id}","starred_url":"https://api.github.com/users/Jon6193/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jon6193/subscriptions","organizations_url":"https://api.github.com/users/Jon6193/orgs","repos_url":"https://api.github.com/users/Jon6193/repos","events_url":"https://api.github.com/users/Jon6193/events{/privacy}","received_events_url":"https://api.github.com/users/Jon6193/received_events","type":"User","site_admin":false},"body":"Removed all of the findviewbyid methods in favor for butterknife. Also added an abstract getLayoutRes method within the BaseActivity and BaseFragment classes to simplify view binding in Activity and Fragment lifecycle.","created_at":"2017-05-22T05:45:33Z","updated_at":"2017-05-22T17:22:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc824ef61c4a43241586a51c65147d53e14bb25c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Zsteven44","id":16484079,"avatar_url":"https://avatars2.githubusercontent.com/u/16484079?v=3","gravatar_id":"","url":"https://api.github.com/users/Zsteven44","html_url":"https://github.com/Zsteven44","followers_url":"https://api.github.com/users/Zsteven44/followers","following_url":"https://api.github.com/users/Zsteven44/following{/other_user}","gists_url":"https://api.github.com/users/Zsteven44/gists{/gist_id}","starred_url":"https://api.github.com/users/Zsteven44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zsteven44/subscriptions","organizations_url":"https://api.github.com/users/Zsteven44/orgs","repos_url":"https://api.github.com/users/Zsteven44/repos","events_url":"https://api.github.com/users/Zsteven44/events{/privacy}","received_events_url":"https://api.github.com/users/Zsteven44/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/49/commits","review_comments_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/49/comments","review_comment_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/issues/49/comments","statuses_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/statuses/cf053c0c983ab56ab51faebbfd642ce48e561e59","head":{"label":"ZafraniTechLLC:butterknife","ref":"butterknife","sha":"cf053c0c983ab56ab51faebbfd642ce48e561e59","user":{"login":"ZafraniTechLLC","id":28682566,"avatar_url":"https://avatars1.githubusercontent.com/u/28682566?v=3","gravatar_id":"","url":"https://api.github.com/users/ZafraniTechLLC","html_url":"https://github.com/ZafraniTechLLC","followers_url":"https://api.github.com/users/ZafraniTechLLC/followers","following_url":"https://api.github.com/users/ZafraniTechLLC/following{/other_user}","gists_url":"https://api.github.com/users/ZafraniTechLLC/gists{/gist_id}","starred_url":"https://api.github.com/users/ZafraniTechLLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZafraniTechLLC/subscriptions","organizations_url":"https://api.github.com/users/ZafraniTechLLC/orgs","repos_url":"https://api.github.com/users/ZafraniTechLLC/repos","events_url":"https://api.github.com/users/ZafraniTechLLC/events{/privacy}","received_events_url":"https://api.github.com/users/ZafraniTechLLC/received_events","type":"Organization","site_admin":false},"repo":{"id":89888150,"name":"Companion-For-PUBG-Android","full_name":"ZafraniTechLLC/Companion-For-PUBG-Android","owner":{"login":"ZafraniTechLLC","id":28682566,"avatar_url":"https://avatars1.githubusercontent.com/u/28682566?v=3","gravatar_id":"","url":"https://api.github.com/users/ZafraniTechLLC","html_url":"https://github.com/ZafraniTechLLC","followers_url":"https://api.github.com/users/ZafraniTechLLC/followers","following_url":"https://api.github.com/users/ZafraniTechLLC/following{/other_user}","gists_url":"https://api.github.com/users/ZafraniTechLLC/gists{/gist_id}","starred_url":"https://api.github.com/users/ZafraniTechLLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZafraniTechLLC/subscriptions","organizations_url":"https://api.github.com/users/ZafraniTechLLC/orgs","repos_url":"https://api.github.com/users/ZafraniTechLLC/repos","events_url":"https://api.github.com/users/ZafraniTechLLC/events{/privacy}","received_events_url":"https://api.github.com/users/ZafraniTechLLC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android","description":"The unofficial PlayerUnknown's Battlegrounds companion Android app.","fork":false,"url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android","forks_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/forks","keys_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/teams","hooks_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/hooks","issue_events_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/issues/events{/number}","events_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/events","assignees_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/assignees{/user}","branches_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/branches{/branch}","tags_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/tags","blobs_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/languages","stargazers_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/stargazers","contributors_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/contributors","subscribers_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/subscribers","subscription_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/subscription","commits_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/contents/{+path}","compare_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/merges","archive_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/downloads","issues_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/issues{/number}","pulls_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/labels{/name}","releases_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/releases{/id}","deployments_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/deployments","created_at":"2017-05-01T01:18:26Z","updated_at":"2017-05-20T19:53:52Z","pushed_at":"2017-05-22T06:12:18Z","git_url":"git://github.com/ZafraniTechLLC/Companion-For-PUBG-Android.git","ssh_url":"git@github.com:ZafraniTechLLC/Companion-For-PUBG-Android.git","clone_url":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android.git","svn_url":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android","homepage":"","size":121222,"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":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ZafraniTechLLC:develop","ref":"develop","sha":"ed5254f416ad845f9d0ac25eee10b3c1967ddbda","user":{"login":"ZafraniTechLLC","id":28682566,"avatar_url":"https://avatars1.githubusercontent.com/u/28682566?v=3","gravatar_id":"","url":"https://api.github.com/users/ZafraniTechLLC","html_url":"https://github.com/ZafraniTechLLC","followers_url":"https://api.github.com/users/ZafraniTechLLC/followers","following_url":"https://api.github.com/users/ZafraniTechLLC/following{/other_user}","gists_url":"https://api.github.com/users/ZafraniTechLLC/gists{/gist_id}","starred_url":"https://api.github.com/users/ZafraniTechLLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZafraniTechLLC/subscriptions","organizations_url":"https://api.github.com/users/ZafraniTechLLC/orgs","repos_url":"https://api.github.com/users/ZafraniTechLLC/repos","events_url":"https://api.github.com/users/ZafraniTechLLC/events{/privacy}","received_events_url":"https://api.github.com/users/ZafraniTechLLC/received_events","type":"Organization","site_admin":false},"repo":{"id":89888150,"name":"Companion-For-PUBG-Android","full_name":"ZafraniTechLLC/Companion-For-PUBG-Android","owner":{"login":"ZafraniTechLLC","id":28682566,"avatar_url":"https://avatars1.githubusercontent.com/u/28682566?v=3","gravatar_id":"","url":"https://api.github.com/users/ZafraniTechLLC","html_url":"https://github.com/ZafraniTechLLC","followers_url":"https://api.github.com/users/ZafraniTechLLC/followers","following_url":"https://api.github.com/users/ZafraniTechLLC/following{/other_user}","gists_url":"https://api.github.com/users/ZafraniTechLLC/gists{/gist_id}","starred_url":"https://api.github.com/users/ZafraniTechLLC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZafraniTechLLC/subscriptions","organizations_url":"https://api.github.com/users/ZafraniTechLLC/orgs","repos_url":"https://api.github.com/users/ZafraniTechLLC/repos","events_url":"https://api.github.com/users/ZafraniTechLLC/events{/privacy}","received_events_url":"https://api.github.com/users/ZafraniTechLLC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android","description":"The unofficial PlayerUnknown's Battlegrounds companion Android app.","fork":false,"url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android","forks_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/forks","keys_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/teams","hooks_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/hooks","issue_events_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/issues/events{/number}","events_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/events","assignees_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/assignees{/user}","branches_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/branches{/branch}","tags_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/tags","blobs_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/languages","stargazers_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/stargazers","contributors_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/contributors","subscribers_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/subscribers","subscription_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/subscription","commits_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/contents/{+path}","compare_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/merges","archive_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/downloads","issues_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/issues{/number}","pulls_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/labels{/name}","releases_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/releases{/id}","deployments_url":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/deployments","created_at":"2017-05-01T01:18:26Z","updated_at":"2017-05-20T19:53:52Z","pushed_at":"2017-05-22T06:12:18Z","git_url":"git://github.com/ZafraniTechLLC/Companion-For-PUBG-Android.git","ssh_url":"git@github.com:ZafraniTechLLC/Companion-For-PUBG-Android.git","clone_url":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android.git","svn_url":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android","homepage":"","size":121222,"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":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/49"},"html":{"href":"https://github.com/ZafraniTechLLC/Companion-For-PUBG-Android/pull/49"},"issue":{"href":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/issues/49"},"comments":{"href":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/ZafraniTechLLC/Companion-For-PUBG-Android/statuses/cf053c0c983ab56ab51faebbfd642ce48e561e59"}}}}
{"actor":{"display_login":"zafrani"}}