{"action":"created","issue":{"url":"https://api.github.com/repos/mcharmas/Android-ReactiveLocation/issues/46","labels_url":"https://api.github.com/repos/mcharmas/Android-ReactiveLocation/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/mcharmas/Android-ReactiveLocation/issues/46/comments","events_url":"https://api.github.com/repos/mcharmas/Android-ReactiveLocation/issues/46/events","html_url":"https://github.com/mcharmas/Android-ReactiveLocation/issues/46","id":79446656,"number":46,"title":"Cannot resolve method: 'Action1<DetectedActivity>'","user":{"login":"mynavy","id":7545176,"avatar_url":"https://avatars.githubusercontent.com/u/7545176?v=3","gravatar_id":"","url":"https://api.github.com/users/mynavy","html_url":"https://github.com/mynavy","followers_url":"https://api.github.com/users/mynavy/followers","following_url":"https://api.github.com/users/mynavy/following{/other_user}","gists_url":"https://api.github.com/users/mynavy/gists{/gist_id}","starred_url":"https://api.github.com/users/mynavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mynavy/subscriptions","organizations_url":"https://api.github.com/users/mynavy/orgs","repos_url":"https://api.github.com/users/mynavy/repos","events_url":"https://api.github.com/users/mynavy/events{/privacy}","received_events_url":"https://api.github.com/users/mynavy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-22T12:59:48Z","updated_at":"2015-05-22T13:31:45Z","closed_at":null,"body":"Im trying to create a service which will receive activity recognition result. \r\n\r\nI wrote this in my code: \r\n\r\n    locationProvider.getDetectedActivity(0) // detectionIntervalMillis\r\n        .subscribe(new Action1<DetectedActivity>() {\r\n            @Override\r\n            public void call(DetectedActivity detectedActivity) {\r\n                doSthImportantWithObtainedActivity(detectedActivity);\r\n            }\r\n        });\r\n\r\nBut android studio does not recognize \r\n\"Action1 DetectedActivity\" . \r\n\r\nall the others like location updates and geofencing is working great! \r\n\r\nAny idea what is going on?"},"comment":{"url":"https://api.github.com/repos/mcharmas/Android-ReactiveLocation/issues/comments/104661339","html_url":"https://github.com/mcharmas/Android-ReactiveLocation/issues/46#issuecomment-104661339","issue_url":"https://api.github.com/repos/mcharmas/Android-ReactiveLocation/issues/46","id":104661339,"user":{"login":"sytolk","id":1415463,"avatar_url":"https://avatars.githubusercontent.com/u/1415463?v=3","gravatar_id":"","url":"https://api.github.com/users/sytolk","html_url":"https://github.com/sytolk","followers_url":"https://api.github.com/users/sytolk/followers","following_url":"https://api.github.com/users/sytolk/following{/other_user}","gists_url":"https://api.github.com/users/sytolk/gists{/gist_id}","starred_url":"https://api.github.com/users/sytolk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sytolk/subscriptions","organizations_url":"https://api.github.com/users/sytolk/orgs","repos_url":"https://api.github.com/users/sytolk/repos","events_url":"https://api.github.com/users/sytolk/events{/privacy}","received_events_url":"https://api.github.com/users/sytolk/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T13:31:45Z","updated_at":"2015-05-22T13:31:45Z","body":"Or maybe this was for Geofencing :)\r\nhttps://github.com/mcharmas/Android-ReactiveLocation/issues/29"}}