{"action":"created","comment":{"url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/comments/41966726","id":41966726,"diff_hunk":"@@ -0,0 +1,184 @@\n+package com.appunite.rx.android.widget;\n+\n+import android.support.annotation.IdRes;\n+import android.support.annotation.NonNull;\n+import android.support.v7.widget.Toolbar;\n+import android.view.MenuItem;\n+import android.view.View;\n+\n+import com.appunite.rx.android.internal.MainThreadSubscription;\n+import com.appunite.rx.android.internal.Preconditions;\n+\n+import java.util.ArrayList;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.WeakHashMap;\n+\n+import javax.annotation.Nonnull;\n+\n+import rx.Observable;\n+import rx.Subscriber;\n+import rx.functions.Action1;\n+import rx.functions.Func1;\n+\n+import static com.appunite.rx.internal.Preconditions.checkNotNull;\n+\n+public class RxToolbarMore {\n+    @Nonnull\n+    public static Action1<? super String> title(@Nonnull final Toolbar toolbar) {\n+        checkNotNull(toolbar);\n+        return new Action1<String>() {\n+            @Override\n+            public void call(String title) {\n+                toolbar.setTitle(title);\n+            }\n+        };\n+    }\n+\n+    @Nonnull\n+    public static Observable<ToolbarMenuEvent> menuClick(@Nonnull Toolbar toolbar) {\n+        return Observable.create(new OnSubscribeToolbarMenuClick(toolbar));\n+    }\n+\n+    @Nonnull\n+    public static Func1<ToolbarMenuEvent, Boolean> filterMenuClick(@IdRes final int menuId) {\n+        return new Func1<ToolbarMenuEvent, Boolean>() {\n+            @Override\n+            public Boolean call(ToolbarMenuEvent toolbarMenuEvent) {\n+                return toolbarMenuEvent.menuItem().getItemId() == menuId;\n+            }\n+        };\n+    }\n+\n+    @Nonnull\n+    public static Observable<View> navigationClick(@Nonnull Toolbar toolbar) {","path":"rx-android-extensions/src/main/java/com/appunite/rx/android/widget/RxToolbarMore.java","position":54,"original_position":54,"commit_id":"89292d2daf9a63af8df06130cbf64c1e3bf2a076","original_commit_id":"89292d2daf9a63af8df06130cbf64c1e3bf2a076","user":{"login":"krpiotrek","id":1102277,"avatar_url":"https://avatars.githubusercontent.com/u/1102277?v=3","gravatar_id":"","url":"https://api.github.com/users/krpiotrek","html_url":"https://github.com/krpiotrek","followers_url":"https://api.github.com/users/krpiotrek/followers","following_url":"https://api.github.com/users/krpiotrek/following{/other_user}","gists_url":"https://api.github.com/users/krpiotrek/gists{/gist_id}","starred_url":"https://api.github.com/users/krpiotrek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krpiotrek/subscriptions","organizations_url":"https://api.github.com/users/krpiotrek/orgs","repos_url":"https://api.github.com/users/krpiotrek/repos","events_url":"https://api.github.com/users/krpiotrek/events{/privacy}","received_events_url":"https://api.github.com/users/krpiotrek/received_events","type":"User","site_admin":false},"body":"isnt this a part of rxbindings?","created_at":"2015-10-14T08:27:13Z","updated_at":"2015-10-14T08:27:13Z","html_url":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/60#discussion_r41966726","pull_request_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/comments/41966726"},"html":{"href":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/60#discussion_r41966726"},"pull_request":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/60","id":47505498,"html_url":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/60","diff_url":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/60.diff","patch_url":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/60.patch","issue_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/issues/60","number":60,"state":"open","locked":false,"title":"Remove rx android","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},"body":"*This merge contains backward incompatible changes*\r\nFollowing changes was made:\r\n* Removed dependency from old rx-android\r\n* Example now use RxLifecycle and RxBiding\r\n* Updated to newest support libraries\r\n* Updated to newest build target\r\n\r\nYou should be aware that as in RxBinding:\r\n`Mapping an observable to an Android event (e.g., view clicks) is a direct mapping. The library is not responsible for supporting multiple observables bound to the same view. Multiple listeners to the same view events can be achieved through share().`\r\n\r\nSome `MoreViewActions` and `MoreViewObservables` was removed because there are already implemented in RxBinding. Other that was not yet implemented was moved to: `RxActivityMore`, `RxPopupMore`, `RxToolbarMore`, `RxViewMore`, `RxViewPagerMore`","created_at":"2015-10-13T08:46:02Z","updated_at":"2015-10-14T08:27:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a4e37c5ad0b0ea4350718332746208d967745fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/60/commits","review_comments_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/60/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/60/comments","statuses_url":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/statuses/89292d2daf9a63af8df06130cbf64c1e3bf2a076","head":{"label":"jacek-marchwicki:remove-rx-android","ref":"remove-rx-android","sha":"89292d2daf9a63af8df06130cbf64c1e3bf2a076","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-10-13T09:14:46Z","pushed_at":"2015-10-13T09:09:02Z","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":1422,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":8,"default_branch":"master"}},"base":{"label":"jacek-marchwicki:master","ref":"master","sha":"1e14b107d38bf050fb859a991fb5eeeed79c2bc0","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-10-13T09:14:46Z","pushed_at":"2015-10-13T09:09:02Z","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":1422,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/60"},"html":{"href":"https://github.com/jacek-marchwicki/rx-java-extensions/pull/60"},"issue":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/issues/60"},"comments":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/pulls/60/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/60/commits"},"statuses":{"href":"https://api.github.com/repos/jacek-marchwicki/rx-java-extensions/statuses/89292d2daf9a63af8df06130cbf64c1e3bf2a076"}}}}