Questions about the RxAndroidViewObserver version

Asked 2 years ago, Updated 2 years ago, 27 views

https://github.com/GDG-Korea/HelloRx/tree/master/05_EditText

I'm studying here looking at the example of RxAndroid. The rxandroid in the example is using the version below.

    compile 'io.reactivex:rxandroid:0.24.0'

I thought that the latest version would definitely work From https://github.com/ReactiveX/RxAndroid
I built it with the version below, but the ViewObserver object is not referenced.

Do I have to use a different method as the version goes up?

rxandroid android

2022-09-21 17:41

1 Answers

With the update of the RxAndroid library, processing related to the Android UI has been separated into RxBinding.

In addition, ViewObserve is no longer available. In RxBinding, the code must be modified to RxView.clicks(view) to function normally.


2022-09-21 17:41

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.