{"action":"created","comment":{"url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/comments/131551070","pull_request_review_id":54542731,"id":131551070,"diff_hunk":"@@ -0,0 +1,230 @@\n+package com.example.neil.vp_fitness_frontend;\n+\n+import android.content.Context;\n+import android.graphics.Typeface;\n+import android.support.v7.app.AppCompatActivity;\n+\n+import android.support.v4.app.Fragment;\n+import android.support.v4.app.FragmentManager;\n+import android.support.v4.app.FragmentPagerAdapter;\n+import android.support.v4.view.ViewPager;\n+import android.os.Bundle;\n+import android.util.Log;\n+import android.view.LayoutInflater;\n+import android.view.Menu;\n+import android.view.MenuItem;\n+import android.view.View;\n+import android.view.ViewGroup;\n+import android.widget.LinearLayout;\n+\n+import com.avontell.fontutil.FontUtil;\n+import com.avontell.pagerindicatorbinder.IndicatorBinder;\n+import com.matthewtamlin.sliding_intro_screen_library.indicators.DotIndicator;\n+\n+import java.util.HashMap;\n+\n+public class OnboardingFragmentActivity extends AppCompatActivity {\n+\n+    /**\n+     * The {@link android.support.v4.view.PagerAdapter} that will provide\n+     * fragments for each of the sections. We use a\n+     * {@link FragmentPagerAdapter} derivative, which will keep every\n+     * loaded fragment in memory. If this becomes too memory intensive, it\n+     * may be best to switch to a\n+     * {@link android.support.v4.app.FragmentStatePagerAdapter}.\n+     */\n+    private SectionsPagerAdapter mSectionsPagerAdapter;\n+\n+    /**\n+     * Context for this activity\n+     */\n+    private Context context;\n+\n+    /**\n+     * Mapping for all onboarding screens\n+     */\n+    HashMap<String, Fragment> fragments = new HashMap<>();\n+\n+    /**\n+     * The {@link ViewPager} that will host the section contents.\n+     */\n+    private ViewPager mViewPager;\n+    protected int pageId;\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.onboarding_fragment);\n+\n+        // Create the adapter that will return a fragment for each of the three\n+        // primary sections of the activity.\n+        mSectionsPagerAdapter = new SectionsPagerAdapter(getSupportFragmentManager());\n+\n+        // Set up the ViewPager with the sections adapter.\n+        mViewPager = (ViewPager) findViewById(R.id.container);\n+        mViewPager.setAdapter(mSectionsPagerAdapter);\n+        mViewPager.setOffscreenPageLimit(10);\n+        LinearLayout indicatorContainer = (LinearLayout) findViewById(R.id.indicator_cont);\n+        int selectedImage = R.drawable.indicator_selected;\n+        int unselectedImage = R.drawable.indicator_unselected;\n+        final IndicatorBinder sample = new IndicatorBinder().bind(this,","path":"VP-fitness-frontend/app/src/main/java/com/example/neil/vp_fitness_frontend/OnboardingFragmentActivity.java","position":70,"original_position":70,"commit_id":"a4ca3787d420aa060003a996f6cbc506e55d4449","original_commit_id":"a4ca3787d420aa060003a996f6cbc506e55d4449","user":{"login":"vontell","id":8053203,"avatar_url":"https://avatars3.githubusercontent.com/u/8053203?v=4","gravatar_id":"","url":"https://api.github.com/users/vontell","html_url":"https://github.com/vontell","followers_url":"https://api.github.com/users/vontell/followers","following_url":"https://api.github.com/users/vontell/following{/other_user}","gists_url":"https://api.github.com/users/vontell/gists{/gist_id}","starred_url":"https://api.github.com/users/vontell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vontell/subscriptions","organizations_url":"https://api.github.com/users/vontell/orgs","repos_url":"https://api.github.com/users/vontell/repos","events_url":"https://api.github.com/users/vontell/events{/privacy}","received_events_url":"https://api.github.com/users/vontell/received_events","type":"User","site_admin":false},"body":"Why is this named sample? Make a better name, like `indicatorBinder`","created_at":"2017-08-06T20:01:43Z","updated_at":"2017-08-06T20:08:42Z","html_url":"https://github.com/VP-Technologies/vp-fitness-app-android/pull/9#discussion_r131551070","pull_request_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/comments/131551070"},"html":{"href":"https://github.com/VP-Technologies/vp-fitness-app-android/pull/9#discussion_r131551070"},"pull_request":{"href":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/9","id":134334452,"html_url":"https://github.com/VP-Technologies/vp-fitness-app-android/pull/9","diff_url":"https://github.com/VP-Technologies/vp-fitness-app-android/pull/9.diff","patch_url":"https://github.com/VP-Technologies/vp-fitness-app-android/pull/9.patch","issue_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/issues/9","number":9,"state":"open","locked":false,"title":"Dev astating","user":{"login":"tpatel1781","id":20176827,"avatar_url":"https://avatars3.githubusercontent.com/u/20176827?v=4","gravatar_id":"","url":"https://api.github.com/users/tpatel1781","html_url":"https://github.com/tpatel1781","followers_url":"https://api.github.com/users/tpatel1781/followers","following_url":"https://api.github.com/users/tpatel1781/following{/other_user}","gists_url":"https://api.github.com/users/tpatel1781/gists{/gist_id}","starred_url":"https://api.github.com/users/tpatel1781/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpatel1781/subscriptions","organizations_url":"https://api.github.com/users/tpatel1781/orgs","repos_url":"https://api.github.com/users/tpatel1781/repos","events_url":"https://api.github.com/users/tpatel1781/events{/privacy}","received_events_url":"https://api.github.com/users/tpatel1781/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-06T17:48:02Z","updated_at":"2017-08-06T20:08:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c901c450a81276714a5182e1758077a933515f19","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/9/commits","review_comments_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/9/comments","review_comment_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/issues/9/comments","statuses_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/statuses/a4ca3787d420aa060003a996f6cbc506e55d4449","head":{"label":"VP-Technologies:dev-astating","ref":"dev-astating","sha":"a4ca3787d420aa060003a996f6cbc506e55d4449","user":{"login":"VP-Technologies","id":30031416,"avatar_url":"https://avatars1.githubusercontent.com/u/30031416?v=4","gravatar_id":"","url":"https://api.github.com/users/VP-Technologies","html_url":"https://github.com/VP-Technologies","followers_url":"https://api.github.com/users/VP-Technologies/followers","following_url":"https://api.github.com/users/VP-Technologies/following{/other_user}","gists_url":"https://api.github.com/users/VP-Technologies/gists{/gist_id}","starred_url":"https://api.github.com/users/VP-Technologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VP-Technologies/subscriptions","organizations_url":"https://api.github.com/users/VP-Technologies/orgs","repos_url":"https://api.github.com/users/VP-Technologies/repos","events_url":"https://api.github.com/users/VP-Technologies/events{/privacy}","received_events_url":"https://api.github.com/users/VP-Technologies/received_events","type":"Organization","site_admin":false},"repo":{"id":98364781,"name":"vp-fitness-app-android","full_name":"VP-Technologies/vp-fitness-app-android","owner":{"login":"VP-Technologies","id":30031416,"avatar_url":"https://avatars1.githubusercontent.com/u/30031416?v=4","gravatar_id":"","url":"https://api.github.com/users/VP-Technologies","html_url":"https://github.com/VP-Technologies","followers_url":"https://api.github.com/users/VP-Technologies/followers","following_url":"https://api.github.com/users/VP-Technologies/following{/other_user}","gists_url":"https://api.github.com/users/VP-Technologies/gists{/gist_id}","starred_url":"https://api.github.com/users/VP-Technologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VP-Technologies/subscriptions","organizations_url":"https://api.github.com/users/VP-Technologies/orgs","repos_url":"https://api.github.com/users/VP-Technologies/repos","events_url":"https://api.github.com/users/VP-Technologies/events{/privacy}","received_events_url":"https://api.github.com/users/VP-Technologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VP-Technologies/vp-fitness-app-android","description":"The Android app","fork":false,"url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android","forks_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/forks","keys_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/teams","hooks_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/hooks","issue_events_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/issues/events{/number}","events_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/events","assignees_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/assignees{/user}","branches_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/branches{/branch}","tags_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/tags","blobs_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/statuses/{sha}","languages_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/languages","stargazers_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/stargazers","contributors_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/contributors","subscribers_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/subscribers","subscription_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/subscription","commits_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/contents/{+path}","compare_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/merges","archive_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/downloads","issues_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/issues{/number}","pulls_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls{/number}","milestones_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/milestones{/number}","notifications_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/labels{/name}","releases_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/releases{/id}","deployments_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/deployments","created_at":"2017-07-26T01:22:29Z","updated_at":"2017-07-27T02:53:27Z","pushed_at":"2017-08-06T17:48:02Z","git_url":"git://github.com/VP-Technologies/vp-fitness-app-android.git","ssh_url":"git@github.com:VP-Technologies/vp-fitness-app-android.git","clone_url":"https://github.com/VP-Technologies/vp-fitness-app-android.git","svn_url":"https://github.com/VP-Technologies/vp-fitness-app-android","homepage":null,"size":1139,"stargazers_count":1,"watchers_count":1,"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":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"VP-Technologies:master","ref":"master","sha":"96461077d2710b1115c1786e471b92ac0872ce44","user":{"login":"VP-Technologies","id":30031416,"avatar_url":"https://avatars1.githubusercontent.com/u/30031416?v=4","gravatar_id":"","url":"https://api.github.com/users/VP-Technologies","html_url":"https://github.com/VP-Technologies","followers_url":"https://api.github.com/users/VP-Technologies/followers","following_url":"https://api.github.com/users/VP-Technologies/following{/other_user}","gists_url":"https://api.github.com/users/VP-Technologies/gists{/gist_id}","starred_url":"https://api.github.com/users/VP-Technologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VP-Technologies/subscriptions","organizations_url":"https://api.github.com/users/VP-Technologies/orgs","repos_url":"https://api.github.com/users/VP-Technologies/repos","events_url":"https://api.github.com/users/VP-Technologies/events{/privacy}","received_events_url":"https://api.github.com/users/VP-Technologies/received_events","type":"Organization","site_admin":false},"repo":{"id":98364781,"name":"vp-fitness-app-android","full_name":"VP-Technologies/vp-fitness-app-android","owner":{"login":"VP-Technologies","id":30031416,"avatar_url":"https://avatars1.githubusercontent.com/u/30031416?v=4","gravatar_id":"","url":"https://api.github.com/users/VP-Technologies","html_url":"https://github.com/VP-Technologies","followers_url":"https://api.github.com/users/VP-Technologies/followers","following_url":"https://api.github.com/users/VP-Technologies/following{/other_user}","gists_url":"https://api.github.com/users/VP-Technologies/gists{/gist_id}","starred_url":"https://api.github.com/users/VP-Technologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VP-Technologies/subscriptions","organizations_url":"https://api.github.com/users/VP-Technologies/orgs","repos_url":"https://api.github.com/users/VP-Technologies/repos","events_url":"https://api.github.com/users/VP-Technologies/events{/privacy}","received_events_url":"https://api.github.com/users/VP-Technologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VP-Technologies/vp-fitness-app-android","description":"The Android app","fork":false,"url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android","forks_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/forks","keys_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/teams","hooks_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/hooks","issue_events_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/issues/events{/number}","events_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/events","assignees_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/assignees{/user}","branches_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/branches{/branch}","tags_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/tags","blobs_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/statuses/{sha}","languages_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/languages","stargazers_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/stargazers","contributors_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/contributors","subscribers_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/subscribers","subscription_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/subscription","commits_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/contents/{+path}","compare_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/merges","archive_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/downloads","issues_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/issues{/number}","pulls_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls{/number}","milestones_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/milestones{/number}","notifications_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/labels{/name}","releases_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/releases{/id}","deployments_url":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/deployments","created_at":"2017-07-26T01:22:29Z","updated_at":"2017-07-27T02:53:27Z","pushed_at":"2017-08-06T17:48:02Z","git_url":"git://github.com/VP-Technologies/vp-fitness-app-android.git","ssh_url":"git@github.com:VP-Technologies/vp-fitness-app-android.git","clone_url":"https://github.com/VP-Technologies/vp-fitness-app-android.git","svn_url":"https://github.com/VP-Technologies/vp-fitness-app-android","homepage":null,"size":1139,"stargazers_count":1,"watchers_count":1,"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":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/9"},"html":{"href":"https://github.com/VP-Technologies/vp-fitness-app-android/pull/9"},"issue":{"href":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/issues/9"},"comments":{"href":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/VP-Technologies/vp-fitness-app-android/statuses/a4ca3787d420aa060003a996f6cbc506e55d4449"}}}}
{"actor":{"display_login":"vontell"}}