{"action":"created","comment":{"url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/comments/37161393","id":37161393,"diff_hunk":"@@ -0,0 +1,133 @@\n+package com.appunite.rx.example;\n+\n+import android.content.Context;\n+import android.content.Intent;\n+import android.os.Bundle;\n+import android.os.Handler;\n+import android.support.design.widget.FloatingActionButton;\n+import android.support.v7.widget.Toolbar;\n+import android.util.Log;\n+import android.view.Menu;\n+import android.view.MenuInflater;\n+import android.view.MenuItem;\n+import android.view.View;\n+import android.widget.EditText;\n+import android.widget.ImageView;\n+import android.widget.TextView;\n+import android.widget.Toast;\n+\n+import com.appunite.rx.android.MoreViewObservables;\n+import com.appunite.rx.example.dagger.FakeDagger;\n+import com.appunite.rx.example.model.presenter.PostPresenter;\n+\n+import javax.annotation.Nonnull;\n+\n+import butterknife.ButterKnife;\n+import butterknife.InjectView;\n+import retrofit.client.Response;\n+import rx.Observer;\n+import rx.android.schedulers.AndroidSchedulers;\n+import rx.android.view.OnClickEvent;\n+import rx.android.view.ViewActions;\n+import rx.android.view.ViewObservable;\n+import rx.android.widget.OnTextChangeEvent;\n+import rx.android.widget.WidgetObservable;\n+import rx.functions.Action1;\n+import rx.functions.Func1;\n+\n+import static com.appunite.rx.internal.Preconditions.checkNotNull;\n+\n+public class PostActivity extends BaseActivity {\n+\n+    private static final String EXTRA_ID = \"EXTRA_ID\";\n+\n+    public static Intent getIntent(@Nonnull Context context, @Nonnull String id) {\n+        return new Intent(context, PostActivity.class)\n+                .putExtra(EXTRA_ID, checkNotNull(id));\n+    }\n+\n+    @InjectView(R.id.post_toolbar)\n+    Toolbar toolbar;\n+    @InjectView(R.id.accept_button)\n+    ImageView acceptButton;\n+    @InjectView(R.id.bodyText)\n+    EditText bodyText;\n+    @InjectView(R.id.nameText)\n+    EditText nameText;\n+    @InjectView(R.id.main_activity_error)\n+    TextView error;\n+\n+    @Override\n+    protected void onCreate(Bundle savedInstanceState) {\n+        super.onCreate(savedInstanceState);\n+        setContentView(R.layout.post_activity);\n+\n+        ButterKnife.inject(this);\n+\n+        toolbar.setNavigationIcon(R.drawable.ic_cancel_white_24dp);","path":"example/src/main/java/com/appunite/rx/example/PostActivity.java","position":67,"original_position":67,"commit_id":"a1ff71443c0fa6418ca498ffacfb72dc894e8092","original_commit_id":"a1ff71443c0fa6418ca498ffacfb72dc894e8092","user":{"login":"Garzas","id":13151239,"avatar_url":"https://avatars.githubusercontent.com/u/13151239?v=3","gravatar_id":"","url":"https://api.github.com/users/Garzas","html_url":"https://github.com/Garzas","followers_url":"https://api.github.com/users/Garzas/followers","following_url":"https://api.github.com/users/Garzas/following{/other_user}","gists_url":"https://api.github.com/users/Garzas/gists{/gist_id}","starred_url":"https://api.github.com/users/Garzas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Garzas/subscriptions","organizations_url":"https://api.github.com/users/Garzas/orgs","repos_url":"https://api.github.com/users/Garzas/repos","events_url":"https://api.github.com/users/Garzas/events{/privacy}","received_events_url":"https://api.github.com/users/Garzas/received_events","type":"User","site_admin":false},"body":"It isn't working without it","created_at":"2015-08-17T06:34:05Z","updated_at":"2015-08-17T06:34:05Z","html_url":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/49#discussion_r37161393","pull_request_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/comments/37161393"},"html":{"href":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/49#discussion_r37161393"},"pull_request":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/49","id":42346590,"html_url":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/49","diff_url":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/49.diff","patch_url":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/49.patch","issue_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/issues/49","number":49,"state":"open","locked":false,"title":"Addpost","user":{"login":"Garzas","id":13151239,"avatar_url":"https://avatars.githubusercontent.com/u/13151239?v=3","gravatar_id":"","url":"https://api.github.com/users/Garzas","html_url":"https://github.com/Garzas","followers_url":"https://api.github.com/users/Garzas/followers","following_url":"https://api.github.com/users/Garzas/following{/other_user}","gists_url":"https://api.github.com/users/Garzas/gists{/gist_id}","starred_url":"https://api.github.com/users/Garzas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Garzas/subscriptions","organizations_url":"https://api.github.com/users/Garzas/orgs","repos_url":"https://api.github.com/users/Garzas/repos","events_url":"https://api.github.com/users/Garzas/events{/privacy}","received_events_url":"https://api.github.com/users/Garzas/received_events","type":"User","site_admin":false},"body":"Can You check my creating post method?","created_at":"2015-08-13T12:52:39Z","updated_at":"2015-08-17T06:34:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"beca843a4f699a34fb42ab8769816c478932b83b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/49/commits","review_comments_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/49/comments","review_comment_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/issues/49/comments","statuses_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/statuses/a1ff71443c0fa6418ca498ffacfb72dc894e8092","head":{"label":"Garzas:addpost","ref":"addpost","sha":"a1ff71443c0fa6418ca498ffacfb72dc894e8092","user":{"login":"Garzas","id":13151239,"avatar_url":"https://avatars.githubusercontent.com/u/13151239?v=3","gravatar_id":"","url":"https://api.github.com/users/Garzas","html_url":"https://github.com/Garzas","followers_url":"https://api.github.com/users/Garzas/followers","following_url":"https://api.github.com/users/Garzas/following{/other_user}","gists_url":"https://api.github.com/users/Garzas/gists{/gist_id}","starred_url":"https://api.github.com/users/Garzas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Garzas/subscriptions","organizations_url":"https://api.github.com/users/Garzas/orgs","repos_url":"https://api.github.com/users/Garzas/repos","events_url":"https://api.github.com/users/Garzas/events{/privacy}","received_events_url":"https://api.github.com/users/Garzas/received_events","type":"User","site_admin":false},"repo":{"id":40658487,"name":"rx-java-extensions","full_name":"Garzas/rx-java-extensions","owner":{"login":"Garzas","id":13151239,"avatar_url":"https://avatars.githubusercontent.com/u/13151239?v=3","gravatar_id":"","url":"https://api.github.com/users/Garzas","html_url":"https://github.com/Garzas","followers_url":"https://api.github.com/users/Garzas/followers","following_url":"https://api.github.com/users/Garzas/following{/other_user}","gists_url":"https://api.github.com/users/Garzas/gists{/gist_id}","starred_url":"https://api.github.com/users/Garzas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Garzas/subscriptions","organizations_url":"https://api.github.com/users/Garzas/orgs","repos_url":"https://api.github.com/users/Garzas/repos","events_url":"https://api.github.com/users/Garzas/events{/privacy}","received_events_url":"https://api.github.com/users/Garzas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Garzas/rx-java-extensions","description":"Simple Rx for Android","fork":true,"url":"https://api.github.com/repos/Garzas/rx-java-extensions","forks_url":"https://api.github.com/repos/Garzas/rx-java-extensions/forks","keys_url":"https://api.github.com/repos/Garzas/rx-java-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Garzas/rx-java-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Garzas/rx-java-extensions/teams","hooks_url":"https://api.github.com/repos/Garzas/rx-java-extensions/hooks","issue_events_url":"https://api.github.com/repos/Garzas/rx-java-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/Garzas/rx-java-extensions/events","assignees_url":"https://api.github.com/repos/Garzas/rx-java-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/Garzas/rx-java-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/Garzas/rx-java-extensions/tags","blobs_url":"https://api.github.com/repos/Garzas/rx-java-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Garzas/rx-java-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Garzas/rx-java-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/Garzas/rx-java-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Garzas/rx-java-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/Garzas/rx-java-extensions/languages","stargazers_url":"https://api.github.com/repos/Garzas/rx-java-extensions/stargazers","contributors_url":"https://api.github.com/repos/Garzas/rx-java-extensions/contributors","subscribers_url":"https://api.github.com/repos/Garzas/rx-java-extensions/subscribers","subscription_url":"https://api.github.com/repos/Garzas/rx-java-extensions/subscription","commits_url":"https://api.github.com/repos/Garzas/rx-java-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/Garzas/rx-java-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/Garzas/rx-java-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/Garzas/rx-java-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/Garzas/rx-java-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/Garzas/rx-java-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Garzas/rx-java-extensions/merges","archive_url":"https://api.github.com/repos/Garzas/rx-java-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Garzas/rx-java-extensions/downloads","issues_url":"https://api.github.com/repos/Garzas/rx-java-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/Garzas/rx-java-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/Garzas/rx-java-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/Garzas/rx-java-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Garzas/rx-java-extensions/labels{/name}","releases_url":"https://api.github.com/repos/Garzas/rx-java-extensions/releases{/id}","created_at":"2015-08-13T12:50:05Z","updated_at":"2015-08-13T12:50:05Z","pushed_at":"2015-08-14T11:24:45Z","git_url":"git://github.com/Garzas/rx-java-extensions.git","ssh_url":"git@github.com:Garzas/rx-java-extensions.git","clone_url":"https://github.com/Garzas/rx-java-extensions.git","svn_url":"https://github.com/Garzas/rx-java-extensions","homepage":"","size":758,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jacek-marchwicki:master","ref":"master","sha":"7c8880aea60bc48d99f9bb8b00b16d3a61224e9b","user":{"login":"jacek-marchwicki","id":689211,"avatar_url":"https://avatars.githubusercontent.com/u/689211?v=3","gravatar_id":"","url":"https://api.github.com/users/jacek-marchwicki","html_url":"https://github.com/jacek-marchwicki","followers_url":"https://api.github.com/users/jacek-marchwicki/followers","following_url":"https://api.github.com/users/jacek-marchwicki/following{/other_user}","gists_url":"https://api.github.com/users/jacek-marchwicki/gists{/gist_id}","starred_url":"https://api.github.com/users/jacek-marchwicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacek-marchwicki/subscriptions","organizations_url":"https://api.github.com/users/jacek-marchwicki/orgs","repos_url":"https://api.github.com/users/jacek-marchwicki/repos","events_url":"https://api.github.com/users/jacek-marchwicki/events{/privacy}","received_events_url":"https://api.github.com/users/jacek-marchwicki/received_events","type":"User","site_admin":false},"repo":{"id":32398593,"name":"rx-java-extensions","full_name":"jacek-marchwicki/rx-java-extensions","owner":{"login":"jacek-marchwicki","id":689211,"avatar_url":"https://avatars.githubusercontent.com/u/689211?v=3","gravatar_id":"","url":"https://api.github.com/users/jacek-marchwicki","html_url":"https://github.com/jacek-marchwicki","followers_url":"https://api.github.com/users/jacek-marchwicki/followers","following_url":"https://api.github.com/users/jacek-marchwicki/following{/other_user}","gists_url":"https://api.github.com/users/jacek-marchwicki/gists{/gist_id}","starred_url":"https://api.github.com/users/jacek-marchwicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacek-marchwicki/subscriptions","organizations_url":"https://api.github.com/users/jacek-marchwicki/orgs","repos_url":"https://api.github.com/users/jacek-marchwicki/repos","events_url":"https://api.github.com/users/jacek-marchwicki/events{/privacy}","received_events_url":"https://api.github.com/users/jacek-marchwicki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacek-marchwicki/rx-java-extensions","description":"Simple Rx for Android","fork":false,"url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions","forks_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/forks","keys_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/teams","hooks_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/hooks","issue_events_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/events","assignees_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/tags","blobs_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/languages","stargazers_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/stargazers","contributors_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/contributors","subscribers_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/subscribers","subscription_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/subscription","commits_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/merges","archive_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/downloads","issues_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/labels{/name}","releases_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/releases{/id}","created_at":"2015-03-17T14:33:40Z","updated_at":"2015-06-04T09:41:39Z","pushed_at":"2015-08-14T11:24:45Z","git_url":"git://github.com/jacek-marchwicki/rx-java-extensions.git","ssh_url":"git@github.com:jacek-marchwicki/rx-java-extensions.git","clone_url":"https://github.com/jacek-marchwicki/rx-java-extensions.git","svn_url":"https://github.com/jacek-marchwicki/rx-java-extensions","homepage":"","size":1004,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/49"},"html":{"href":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/49"},"issue":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/issues/49"},"comments":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/statuses/a1ff71443c0fa6418ca498ffacfb72dc894e8092"}}}}