{"action":"created","comment":{"url":"https://api.github.com/repos/systers/malaria-app-android/pulls/comments/204241479","pull_request_review_id":139216596,"id":204241479,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDI0MTQ3OQ==","diff_hunk":"@@ -0,0 +1,83 @@\n+package com.peacecorps.malaria.ui.info_hub;\n+\n+import android.content.Context;\n+import android.os.Bundle;\n+import android.support.annotation.NonNull;\n+import android.support.annotation.Nullable;\n+import android.view.LayoutInflater;\n+import android.view.View;\n+import android.view.ViewGroup;\n+\n+import com.peacecorps.malaria.R;\n+import com.peacecorps.malaria.ui.base.BaseFragment;\n+import com.peacecorps.malaria.utils.ToastLogUtil;\n+\n+import butterknife.ButterKnife;\n+\n+/**\n+ * Created by Anamika Tripathi on 18/7/18.\n+ */\n+public class InfoHubFragment extends BaseFragment implements InfoHubContract.InfoHubMvpView, View.OnClickListener {\n+\n+    private Context context;\n+\n+\n+    // returns a new instance of the Fragment\n+    public static InfoHubFragment newInstance() {\n+        return new InfoHubFragment();\n+    }\n+\n+    @Override\n+    public void onCreate(@Nullable Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+    }\n+\n+    @Nullable\n+    @Override\n+    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n+        // Inflate the layout for this fragment\n+        View view = inflater.inflate(R.layout.info_hub_screen, container, false);\n+        context = getContext();\n+        // butterknife binding\n+        ButterKnife.bind(this, view);\n+        // instantiating presenter, passing datamanger, view & attaching view to the presenter\n+        return view;\n+    }\n+\n+    @Override\n+    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {\n+        super.onViewCreated(view, savedInstanceState);\n+    }\n+\n+\n+    @Override\n+    protected int getContentResource() {\n+        return R.layout.info_hub_screen;\n+    }\n+\n+    @Override\n+    protected void init() {","path":"malaria-app-android/src/main/java/com/peacecorps/malaria/ui/info_hub/InfoHubFragment.java","position":59,"original_position":59,"commit_id":"391167b29210088041eedd69dd116f3922c802c9","original_commit_id":"391167b29210088041eedd69dd116f3922c802c9","user":{"login":"manjumegh","id":4845943,"node_id":"MDQ6VXNlcjQ4NDU5NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/4845943?v=4","gravatar_id":"","url":"https://api.github.com/users/manjumegh","html_url":"https://github.com/manjumegh","followers_url":"https://api.github.com/users/manjumegh/followers","following_url":"https://api.github.com/users/manjumegh/following{/other_user}","gists_url":"https://api.github.com/users/manjumegh/gists{/gist_id}","starred_url":"https://api.github.com/users/manjumegh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manjumegh/subscriptions","organizations_url":"https://api.github.com/users/manjumegh/orgs","repos_url":"https://api.github.com/users/manjumegh/repos","events_url":"https://api.github.com/users/manjumegh/events{/privacy}","received_events_url":"https://api.github.com/users/manjumegh/received_events","type":"User","site_admin":false},"body":"Is init()  empty?, or its by mistake left like this or its incomplete? ","created_at":"2018-07-22T14:07:26Z","updated_at":"2018-07-22T14:18:23Z","html_url":"https://github.com/systers/malaria-app-android/pull/346#discussion_r204241479","pull_request_url":"https://api.github.com/repos/systers/malaria-app-android/pulls/346","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/systers/malaria-app-android/pulls/comments/204241479"},"html":{"href":"https://github.com/systers/malaria-app-android/pull/346#discussion_r204241479"},"pull_request":{"href":"https://api.github.com/repos/systers/malaria-app-android/pulls/346"}},"in_reply_to_id":204000582},"pull_request":{"url":"https://api.github.com/repos/systers/malaria-app-android/pulls/346","id":202793906,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNzkzOTA2","html_url":"https://github.com/systers/malaria-app-android/pull/346","diff_url":"https://github.com/systers/malaria-app-android/pull/346.diff","patch_url":"https://github.com/systers/malaria-app-android/pull/346.patch","issue_url":"https://api.github.com/repos/systers/malaria-app-android/issues/346","number":346,"state":"open","locked":false,"title":"Play button implementation","user":{"login":"geekanamika","id":16922933,"node_id":"MDQ6VXNlcjE2OTIyOTMz","avatar_url":"https://avatars0.githubusercontent.com/u/16922933?v=4","gravatar_id":"","url":"https://api.github.com/users/geekanamika","html_url":"https://github.com/geekanamika","followers_url":"https://api.github.com/users/geekanamika/followers","following_url":"https://api.github.com/users/geekanamika/following{/other_user}","gists_url":"https://api.github.com/users/geekanamika/gists{/gist_id}","starred_url":"https://api.github.com/users/geekanamika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekanamika/subscriptions","organizations_url":"https://api.github.com/users/geekanamika/orgs","repos_url":"https://api.github.com/users/geekanamika/repos","events_url":"https://api.github.com/users/geekanamika/events{/privacy}","received_events_url":"https://api.github.com/users/geekanamika/received_events","type":"User","site_admin":false},"body":"Fixes #344 #345\r\n\r\n## Description\r\n- [ ] Play item in bottom navigation starts Playfragment\r\n- [ ] Medicine store shifted to MVP inside Playfragment\r\n- [ ] Rapid fire game shifted to MVP inside Playfragment\r\n- [ ] Myth vs Fact game shifted to MVP inside Playfragment\r\n- [ ] Improved medicine_store, fragment_play,  rapid_fire, myth_vs_fact layouts\r\n- [ ] Improved add_medicine_dialog, exit_game_dialog, game_over_dialog, , order_medicine_dialog, rapid_fire, resetdata_dialog dialogs\r\n- [ ] Added comments for every implementation\r\n\r\n## Design documentation\r\nhttps://docs.google.com/document/d/1tvuckcfnPufGBVpbZC0wizlSwg203O2n5i6tDKw9KfY/edit#\r\n\r\n## Mockups\r\n* Medicine Store: https://drive.google.com/open?id=1KKWPklqMV9gGpnjFGtPFkJMYPFoe4Hkx\r\n* Rapid Fire game: https://drive.google.com/open?id=1hhYTUs0DCW3JG4vRhw5MzafZBQD3YVGQ\r\n* Myth vs Fact game: https://drive.google.com/open?id=1NLqzX3z6p1hm3tiAsuABxRSidRh6N3ma\r\n ","created_at":"2018-07-20T09:27:47Z","updated_at":"2018-07-22T14:18:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82335a7c09409f4e976b2e5d9fa531ee577d8446","assignee":null,"assignees":[],"requested_reviewers":[{"login":"niksj","id":17112467,"node_id":"MDQ6VXNlcjE3MTEyNDY3","avatar_url":"https://avatars2.githubusercontent.com/u/17112467?v=4","gravatar_id":"","url":"https://api.github.com/users/niksj","html_url":"https://github.com/niksj","followers_url":"https://api.github.com/users/niksj/followers","following_url":"https://api.github.com/users/niksj/following{/other_user}","gists_url":"https://api.github.com/users/niksj/gists{/gist_id}","starred_url":"https://api.github.com/users/niksj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niksj/subscriptions","organizations_url":"https://api.github.com/users/niksj/orgs","repos_url":"https://api.github.com/users/niksj/repos","events_url":"https://api.github.com/users/niksj/events{/privacy}","received_events_url":"https://api.github.com/users/niksj/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/systers/malaria-app-android/pulls/346/commits","review_comments_url":"https://api.github.com/repos/systers/malaria-app-android/pulls/346/comments","review_comment_url":"https://api.github.com/repos/systers/malaria-app-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systers/malaria-app-android/issues/346/comments","statuses_url":"https://api.github.com/repos/systers/malaria-app-android/statuses/391167b29210088041eedd69dd116f3922c802c9","head":{"label":"geekanamika:playButtonImplementation","ref":"playButtonImplementation","sha":"391167b29210088041eedd69dd116f3922c802c9","user":{"login":"geekanamika","id":16922933,"node_id":"MDQ6VXNlcjE2OTIyOTMz","avatar_url":"https://avatars0.githubusercontent.com/u/16922933?v=4","gravatar_id":"","url":"https://api.github.com/users/geekanamika","html_url":"https://github.com/geekanamika","followers_url":"https://api.github.com/users/geekanamika/followers","following_url":"https://api.github.com/users/geekanamika/following{/other_user}","gists_url":"https://api.github.com/users/geekanamika/gists{/gist_id}","starred_url":"https://api.github.com/users/geekanamika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekanamika/subscriptions","organizations_url":"https://api.github.com/users/geekanamika/orgs","repos_url":"https://api.github.com/users/geekanamika/repos","events_url":"https://api.github.com/users/geekanamika/events{/privacy}","received_events_url":"https://api.github.com/users/geekanamika/received_events","type":"User","site_admin":false},"repo":{"id":81289751,"node_id":"MDEwOlJlcG9zaXRvcnk4MTI4OTc1MQ==","name":"malaria-app-android","full_name":"geekanamika/malaria-app-android","owner":{"login":"geekanamika","id":16922933,"node_id":"MDQ6VXNlcjE2OTIyOTMz","avatar_url":"https://avatars0.githubusercontent.com/u/16922933?v=4","gravatar_id":"","url":"https://api.github.com/users/geekanamika","html_url":"https://github.com/geekanamika","followers_url":"https://api.github.com/users/geekanamika/followers","following_url":"https://api.github.com/users/geekanamika/following{/other_user}","gists_url":"https://api.github.com/users/geekanamika/gists{/gist_id}","starred_url":"https://api.github.com/users/geekanamika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekanamika/subscriptions","organizations_url":"https://api.github.com/users/geekanamika/orgs","repos_url":"https://api.github.com/users/geekanamika/repos","events_url":"https://api.github.com/users/geekanamika/events{/privacy}","received_events_url":"https://api.github.com/users/geekanamika/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geekanamika/malaria-app-android","description":null,"fork":true,"url":"https://api.github.com/repos/geekanamika/malaria-app-android","forks_url":"https://api.github.com/repos/geekanamika/malaria-app-android/forks","keys_url":"https://api.github.com/repos/geekanamika/malaria-app-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geekanamika/malaria-app-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geekanamika/malaria-app-android/teams","hooks_url":"https://api.github.com/repos/geekanamika/malaria-app-android/hooks","issue_events_url":"https://api.github.com/repos/geekanamika/malaria-app-android/issues/events{/number}","events_url":"https://api.github.com/repos/geekanamika/malaria-app-android/events","assignees_url":"https://api.github.com/repos/geekanamika/malaria-app-android/assignees{/user}","branches_url":"https://api.github.com/repos/geekanamika/malaria-app-android/branches{/branch}","tags_url":"https://api.github.com/repos/geekanamika/malaria-app-android/tags","blobs_url":"https://api.github.com/repos/geekanamika/malaria-app-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geekanamika/malaria-app-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geekanamika/malaria-app-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/geekanamika/malaria-app-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geekanamika/malaria-app-android/statuses/{sha}","languages_url":"https://api.github.com/repos/geekanamika/malaria-app-android/languages","stargazers_url":"https://api.github.com/repos/geekanamika/malaria-app-android/stargazers","contributors_url":"https://api.github.com/repos/geekanamika/malaria-app-android/contributors","subscribers_url":"https://api.github.com/repos/geekanamika/malaria-app-android/subscribers","subscription_url":"https://api.github.com/repos/geekanamika/malaria-app-android/subscription","commits_url":"https://api.github.com/repos/geekanamika/malaria-app-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/geekanamika/malaria-app-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/geekanamika/malaria-app-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/geekanamika/malaria-app-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/geekanamika/malaria-app-android/contents/{+path}","compare_url":"https://api.github.com/repos/geekanamika/malaria-app-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geekanamika/malaria-app-android/merges","archive_url":"https://api.github.com/repos/geekanamika/malaria-app-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geekanamika/malaria-app-android/downloads","issues_url":"https://api.github.com/repos/geekanamika/malaria-app-android/issues{/number}","pulls_url":"https://api.github.com/repos/geekanamika/malaria-app-android/pulls{/number}","milestones_url":"https://api.github.com/repos/geekanamika/malaria-app-android/milestones{/number}","notifications_url":"https://api.github.com/repos/geekanamika/malaria-app-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geekanamika/malaria-app-android/labels{/name}","releases_url":"https://api.github.com/repos/geekanamika/malaria-app-android/releases{/id}","deployments_url":"https://api.github.com/repos/geekanamika/malaria-app-android/deployments","created_at":"2017-02-08T05:06:34Z","updated_at":"2018-06-20T04:11:22Z","pushed_at":"2018-07-20T10:17:41Z","git_url":"git://github.com/geekanamika/malaria-app-android.git","ssh_url":"git@github.com:geekanamika/malaria-app-android.git","clone_url":"https://github.com/geekanamika/malaria-app-android.git","svn_url":"https://github.com/geekanamika/malaria-app-android","homepage":null,"size":76765,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"systers:gsoc18-code","ref":"gsoc18-code","sha":"463af61b7c742e2aeac5a6b4a3c5c86e427bb2e5","user":{"login":"systers","id":6520415,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY1MjA0MTU=","avatar_url":"https://avatars0.githubusercontent.com/u/6520415?v=4","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"repo":{"id":18889806,"node_id":"MDEwOlJlcG9zaXRvcnkxODg4OTgwNg==","name":"malaria-app-android","full_name":"systers/malaria-app-android","owner":{"login":"systers","id":6520415,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY1MjA0MTU=","avatar_url":"https://avatars0.githubusercontent.com/u/6520415?v=4","gravatar_id":"","url":"https://api.github.com/users/systers","html_url":"https://github.com/systers","followers_url":"https://api.github.com/users/systers/followers","following_url":"https://api.github.com/users/systers/following{/other_user}","gists_url":"https://api.github.com/users/systers/gists{/gist_id}","starred_url":"https://api.github.com/users/systers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systers/subscriptions","organizations_url":"https://api.github.com/users/systers/orgs","repos_url":"https://api.github.com/users/systers/repos","events_url":"https://api.github.com/users/systers/events{/privacy}","received_events_url":"https://api.github.com/users/systers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systers/malaria-app-android","description":"A mobile app that will aid the Volunteer in sustaining life-saving malaria prevention tactics over their 2+ years of service. ","fork":true,"url":"https://api.github.com/repos/systers/malaria-app-android","forks_url":"https://api.github.com/repos/systers/malaria-app-android/forks","keys_url":"https://api.github.com/repos/systers/malaria-app-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systers/malaria-app-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systers/malaria-app-android/teams","hooks_url":"https://api.github.com/repos/systers/malaria-app-android/hooks","issue_events_url":"https://api.github.com/repos/systers/malaria-app-android/issues/events{/number}","events_url":"https://api.github.com/repos/systers/malaria-app-android/events","assignees_url":"https://api.github.com/repos/systers/malaria-app-android/assignees{/user}","branches_url":"https://api.github.com/repos/systers/malaria-app-android/branches{/branch}","tags_url":"https://api.github.com/repos/systers/malaria-app-android/tags","blobs_url":"https://api.github.com/repos/systers/malaria-app-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systers/malaria-app-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systers/malaria-app-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/systers/malaria-app-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systers/malaria-app-android/statuses/{sha}","languages_url":"https://api.github.com/repos/systers/malaria-app-android/languages","stargazers_url":"https://api.github.com/repos/systers/malaria-app-android/stargazers","contributors_url":"https://api.github.com/repos/systers/malaria-app-android/contributors","subscribers_url":"https://api.github.com/repos/systers/malaria-app-android/subscribers","subscription_url":"https://api.github.com/repos/systers/malaria-app-android/subscription","commits_url":"https://api.github.com/repos/systers/malaria-app-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/systers/malaria-app-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/systers/malaria-app-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/systers/malaria-app-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/systers/malaria-app-android/contents/{+path}","compare_url":"https://api.github.com/repos/systers/malaria-app-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systers/malaria-app-android/merges","archive_url":"https://api.github.com/repos/systers/malaria-app-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systers/malaria-app-android/downloads","issues_url":"https://api.github.com/repos/systers/malaria-app-android/issues{/number}","pulls_url":"https://api.github.com/repos/systers/malaria-app-android/pulls{/number}","milestones_url":"https://api.github.com/repos/systers/malaria-app-android/milestones{/number}","notifications_url":"https://api.github.com/repos/systers/malaria-app-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systers/malaria-app-android/labels{/name}","releases_url":"https://api.github.com/repos/systers/malaria-app-android/releases{/id}","deployments_url":"https://api.github.com/repos/systers/malaria-app-android/deployments","created_at":"2014-04-17T18:53:22Z","updated_at":"2018-06-23T14:04:09Z","pushed_at":"2018-07-20T10:17:43Z","git_url":"git://github.com/systers/malaria-app-android.git","ssh_url":"git@github.com:systers/malaria-app-android.git","clone_url":"https://github.com/systers/malaria-app-android.git","svn_url":"https://github.com/systers/malaria-app-android","homepage":"","size":79222,"stargazers_count":24,"watchers_count":24,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":124,"mirror_url":null,"archived":false,"open_issues_count":64,"license":null,"forks":124,"open_issues":64,"watchers":24,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/systers/malaria-app-android/pulls/346"},"html":{"href":"https://github.com/systers/malaria-app-android/pull/346"},"issue":{"href":"https://api.github.com/repos/systers/malaria-app-android/issues/346"},"comments":{"href":"https://api.github.com/repos/systers/malaria-app-android/issues/346/comments"},"review_comments":{"href":"https://api.github.com/repos/systers/malaria-app-android/pulls/346/comments"},"review_comment":{"href":"https://api.github.com/repos/systers/malaria-app-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systers/malaria-app-android/pulls/346/commits"},"statuses":{"href":"https://api.github.com/repos/systers/malaria-app-android/statuses/391167b29210088041eedd69dd116f3922c802c9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"manjumegh"}}