Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Observable<Any> to <Unit> in kotlin api #345

Closed
wants to merge 1 commit into from

Conversation

OrdonTeam
Copy link
Contributor

As you mention here: #335 (comment)
I've changed the way KotlinGetTask handle Object type.
I've also regenerate kotlin.

@@ -31,4 +31,4 @@ inline fun CompoundButton.checked(): Consumer<in Boolean> = RxCompoundButton.che
* *Warning:* The created observable keeps a strong reference to `view`. Unsubscribe
* to free this reference.
*/
inline fun CompoundButton.toggle(): Consumer<in Any> = RxCompoundButton.toggle(this)
inline fun CompoundButton.toggle(): Consumer<in Unit> = RxCompoundButton.toggle(this)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is incorrect. We need to limit it to Observable only.

@OrdonTeam
Copy link
Contributor Author

OrdonTeam commented Jan 4, 2017 via email

@OrdonTeam
Copy link
Contributor Author

Fixed in: #347

@OrdonTeam OrdonTeam closed this Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants