You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where someAction is val someAction = action<Number>()
And I've got the compile time error, which can be fixed by
infix fun <T> Observable<T>.bindTo(action: Action<in T>) { //type projection here
with(action.pm) {
[email protected](AndroidSchedulers.mainThread())
.subscribe(action.consumer)
.untilUnbind()
}
}
Have you done it on purpose, so any `action` has strict type parameter?
The text was updated successfully, but these errors were encountered:
Hey guys.
I was trying to user single
action
as a common sink for multiple buttons:where someAction is
val someAction = action<Number>()
And I've got the compile time error, which can be fixed by
The text was updated successfully, but these errors were encountered: