RxBinding provides RxJava binding APIs for Android User Interface (UI) widgets. This allows us to easily translate Android UI events into Observable streams. Let’s look at a simple example of this: we’re going to consider how to execute an asynchronous network request from a Button click event.
Migrate a Gradle Plugin from Groovy to Kotlin
I recently migrated my Gradle Plugin from Groovy to Kotlin. It was essentially a four step process:
- Update the build.gradle file
- Modify the Project Structure
- Convert Groovy code to Kotlin
- Migrate the JUnit tests
Let’s walk through each step…