GitHub PullRequestReviewCommentEvent at 2014-08-05 11:19:15
Repository: Tweet-Manager
Actor: malmstein
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/comments/15806323","id":15806323,"diff_hunk":"@@ -0,0 +1,64 @@\n+package com.github.mecharyry;\n+\n+import android.content.Intent;\n+import android.os.Bundle;\n+import android.support.v4.app.Fragment;\n+import android.support.v4.app.FragmentActivity;\n+import android.support.v4.app.FragmentManager;\n+import android.support.v4.app.FragmentTransaction;\n+\n+import com.github.mecharyry.auth.AuthenticationFragment;\n+import com.github.mecharyry.tweetlist.TweetPagerFragment;\n+\n+public class TwitterManagerActivity extends FragmentActivity implements AuthenticationFragment.Callback, TweetPagerFragment.Callback {\n+\n+    private FragmentManager manager;\n+    private FragmentTransaction transaction;\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.activity_twitter_manager);\n+\n+        manager = getSupportFragmentManager();\n+        transaction = manager.beginTransaction();\n+        transaction.replace(R.id.fragment_container, new AuthenticationFragment());\n+        transaction.commit();","path":"android/src/main/java/com/github/mecharyry/TwitterManagerActivity.java","position":26,"original_position":26,"commit_id":"193642847eba238d85360141126babd76535f78f","original_commit_id":"193642847eba238d85360141126babd76535f78f","user":{"login":"malmstein","id":531613,"avatar_url":"https://avatars.githubusercontent.com/u/531613?v=2","gravatar_id":"820df515de752bffa0ce2644a7927186","url":"https://api.github.com/users/malmstein","html_url":"https://github.com/malmstein","followers_url":"https://api.github.com/users/malmstein/followers","following_url":"https://api.github.com/users/malmstein/following{/other_user}","gists_url":"https://api.github.com/users/malmstein/gists{/gist_id}","starred_url":"https://api.github.com/users/malmstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malmstein/subscriptions","organizations_url":"https://api.github.com/users/malmstein/orgs","repos_url":"https://api.github.com/users/malmstein/repos","events_url":"https://api.github.com/users/malmstein/events{/privacy}","received_events_url":"https://api.github.com/users/malmstein/received_events","type":"User","site_admin":false},"body":"if the activity is always using this fragment you could add it to the activity_twitter_manager layout instead of using the FrameLayout.\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n  <fragment\r\n    android:layout_width=\"wrap_content\"\r\n    android:layout_height=\"wrap_content\"\r\n    android:tag=\"@string/authentication_fragment_tag\"\r\n    class=\"com.github.mecharyry.auth.AuthenticationFragment\" />\r\n```","created_at":"2014-08-05T11:19:15Z","updated_at":"2014-08-05T11:19:15Z","html_url":"https://github.com/Mecharyry/Tweet-Manager/pull/10#discussion_r15806323","pull_request_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/comments/15806323"},"html":{"href":"https://github.com/Mecharyry/Tweet-Manager/pull/10#discussion_r15806323"},"pull_request":{"href":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/10","id":19335554,"html_url":"https://github.com/Mecharyry/Tweet-Manager/pull/10","diff_url":"https://github.com/Mecharyry/Tweet-Manager/pull/10.diff","patch_url":"https://github.com/Mecharyry/Tweet-Manager/pull/10.patch","issue_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/issues/10","number":10,"state":"open","title":"Twit 03 view pager and fragments","user":{"login":"Mecharyry","id":3380092,"avatar_url":"https://avatars.githubusercontent.com/u/3380092?v=2","gravatar_id":"5ba1b3d7770b631f9b117c52884e4dda","url":"https://api.github.com/users/Mecharyry","html_url":"https://github.com/Mecharyry","followers_url":"https://api.github.com/users/Mecharyry/followers","following_url":"https://api.github.com/users/Mecharyry/following{/other_user}","gists_url":"https://api.github.com/users/Mecharyry/gists{/gist_id}","starred_url":"https://api.github.com/users/Mecharyry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mecharyry/subscriptions","organizations_url":"https://api.github.com/users/Mecharyry/orgs","repos_url":"https://api.github.com/users/Mecharyry/repos","events_url":"https://api.github.com/users/Mecharyry/events{/privacy}","received_events_url":"https://api.github.com/users/Mecharyry/received_events","type":"User","site_admin":false},"body":"Adds a view pager to allow users to swipe between the home stream and the android dev stream. Swaps out all activities for fragments.\r\n\r\n![authenticationmenu](https://cloud.githubusercontent.com/assets/3380092/3810512/1262a1a6-1c91-11e4-9e5e-aea05e78a6a8.png)\r\n![viewpager](https://cloud.githubusercontent.com/assets/3380092/3810513/136e39ca-1c91-11e4-9c41-2f07496a4183.png)\r\n","created_at":"2014-08-05T11:10:53Z","updated_at":"2014-08-05T11:19:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"530cd641b3271b5cd4681efbf6b144e6a5298e6d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/issues/10/comments","statuses_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/statuses/193642847eba238d85360141126babd76535f78f","head":{"label":"Mecharyry:Twit-03_ViewPager_and_Fragments","ref":"Twit-03_ViewPager_and_Fragments","sha":"193642847eba238d85360141126babd76535f78f","user":{"login":"Mecharyry","id":3380092,"avatar_url":"https://avatars.githubusercontent.com/u/3380092?v=2","gravatar_id":"5ba1b3d7770b631f9b117c52884e4dda","url":"https://api.github.com/users/Mecharyry","html_url":"https://github.com/Mecharyry","followers_url":"https://api.github.com/users/Mecharyry/followers","following_url":"https://api.github.com/users/Mecharyry/following{/other_user}","gists_url":"https://api.github.com/users/Mecharyry/gists{/gist_id}","starred_url":"https://api.github.com/users/Mecharyry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mecharyry/subscriptions","organizations_url":"https://api.github.com/users/Mecharyry/orgs","repos_url":"https://api.github.com/users/Mecharyry/repos","events_url":"https://api.github.com/users/Mecharyry/events{/privacy}","received_events_url":"https://api.github.com/users/Mecharyry/received_events","type":"User","site_admin":false},"repo":{"id":21859828,"name":"Tweet-Manager","full_name":"Mecharyry/Tweet-Manager","owner":{"login":"Mecharyry","id":3380092,"avatar_url":"https://avatars.githubusercontent.com/u/3380092?v=2","gravatar_id":"5ba1b3d7770b631f9b117c52884e4dda","url":"https://api.github.com/users/Mecharyry","html_url":"https://github.com/Mecharyry","followers_url":"https://api.github.com/users/Mecharyry/followers","following_url":"https://api.github.com/users/Mecharyry/following{/other_user}","gists_url":"https://api.github.com/users/Mecharyry/gists{/gist_id}","starred_url":"https://api.github.com/users/Mecharyry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mecharyry/subscriptions","organizations_url":"https://api.github.com/users/Mecharyry/orgs","repos_url":"https://api.github.com/users/Mecharyry/repos","events_url":"https://api.github.com/users/Mecharyry/events{/privacy}","received_events_url":"https://api.github.com/users/Mecharyry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mecharyry/Tweet-Manager","description":"Android Twitter App","fork":false,"url":"https://api.github.com/repos/Mecharyry/Tweet-Manager","forks_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/forks","keys_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/teams","hooks_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/hooks","issue_events_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/issues/events{/number}","events_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/events","assignees_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/assignees{/user}","branches_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/branches{/branch}","tags_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/tags","blobs_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/statuses/{sha}","languages_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/languages","stargazers_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/stargazers","contributors_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/contributors","subscribers_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/subscribers","subscription_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/subscription","commits_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/issues/comments/{number}","contents_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/contents/{+path}","compare_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/merges","archive_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/downloads","issues_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/issues{/number}","pulls_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls{/number}","milestones_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/milestones{/number}","notifications_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/labels{/name}","releases_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/releases{/id}","created_at":"2014-07-15T13:05:29Z","updated_at":"2014-07-31T08:58:24Z","pushed_at":"2014-08-05T09:58:12Z","git_url":"git://github.com/Mecharyry/Tweet-Manager.git","ssh_url":"git@github.com:Mecharyry/Tweet-Manager.git","clone_url":"https://github.com/Mecharyry/Tweet-Manager.git","svn_url":"https://github.com/Mecharyry/Tweet-Manager","homepage":null,"size":628,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"Mecharyry:master","ref":"master","sha":"7779990efdd77791d697715f66fff1ac99abadb1","user":{"login":"Mecharyry","id":3380092,"avatar_url":"https://avatars.githubusercontent.com/u/3380092?v=2","gravatar_id":"5ba1b3d7770b631f9b117c52884e4dda","url":"https://api.github.com/users/Mecharyry","html_url":"https://github.com/Mecharyry","followers_url":"https://api.github.com/users/Mecharyry/followers","following_url":"https://api.github.com/users/Mecharyry/following{/other_user}","gists_url":"https://api.github.com/users/Mecharyry/gists{/gist_id}","starred_url":"https://api.github.com/users/Mecharyry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mecharyry/subscriptions","organizations_url":"https://api.github.com/users/Mecharyry/orgs","repos_url":"https://api.github.com/users/Mecharyry/repos","events_url":"https://api.github.com/users/Mecharyry/events{/privacy}","received_events_url":"https://api.github.com/users/Mecharyry/received_events","type":"User","site_admin":false},"repo":{"id":21859828,"name":"Tweet-Manager","full_name":"Mecharyry/Tweet-Manager","owner":{"login":"Mecharyry","id":3380092,"avatar_url":"https://avatars.githubusercontent.com/u/3380092?v=2","gravatar_id":"5ba1b3d7770b631f9b117c52884e4dda","url":"https://api.github.com/users/Mecharyry","html_url":"https://github.com/Mecharyry","followers_url":"https://api.github.com/users/Mecharyry/followers","following_url":"https://api.github.com/users/Mecharyry/following{/other_user}","gists_url":"https://api.github.com/users/Mecharyry/gists{/gist_id}","starred_url":"https://api.github.com/users/Mecharyry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mecharyry/subscriptions","organizations_url":"https://api.github.com/users/Mecharyry/orgs","repos_url":"https://api.github.com/users/Mecharyry/repos","events_url":"https://api.github.com/users/Mecharyry/events{/privacy}","received_events_url":"https://api.github.com/users/Mecharyry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mecharyry/Tweet-Manager","description":"Android Twitter App","fork":false,"url":"https://api.github.com/repos/Mecharyry/Tweet-Manager","forks_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/forks","keys_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/teams","hooks_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/hooks","issue_events_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/issues/events{/number}","events_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/events","assignees_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/assignees{/user}","branches_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/branches{/branch}","tags_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/tags","blobs_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/statuses/{sha}","languages_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/languages","stargazers_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/stargazers","contributors_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/contributors","subscribers_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/subscribers","subscription_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/subscription","commits_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/issues/comments/{number}","contents_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/contents/{+path}","compare_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/merges","archive_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/downloads","issues_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/issues{/number}","pulls_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls{/number}","milestones_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/milestones{/number}","notifications_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/labels{/name}","releases_url":"https://api.github.com/repos/Mecharyry/Tweet-Manager/releases{/id}","created_at":"2014-07-15T13:05:29Z","updated_at":"2014-07-31T08:58:24Z","pushed_at":"2014-08-05T09:58:12Z","git_url":"git://github.com/Mecharyry/Tweet-Manager.git","ssh_url":"git@github.com:Mecharyry/Tweet-Manager.git","clone_url":"https://github.com/Mecharyry/Tweet-Manager.git","svn_url":"https://github.com/Mecharyry/Tweet-Manager","homepage":null,"size":628,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/10"},"html":{"href":"https://github.com/Mecharyry/Tweet-Manager/pull/10"},"issue":{"href":"https://api.github.com/repos/Mecharyry/Tweet-Manager/issues/10"},"comments":{"href":"https://api.github.com/repos/Mecharyry/Tweet-Manager/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Mecharyry/Tweet-Manager/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Mecharyry/Tweet-Manager/statuses/193642847eba238d85360141126babd76535f78f"}}}}