CoroutineBinding

Additional

Language
Kotlin
Version
1.0.0-rc2 (Dec 31, 2018)
Created
Apr 22, 2018
Updated
Sep 14, 2019 (Retired)
Owner
Sato Shun (satoshun)
Contributor
Sato Shun (satoshun)
1
Activity
Badge
Generate
Download
Source code

CoroutineBinding

Coroutine binding APIs for Android UI widgets from the platform and support libraries.

Download

Platform bindings:

implementation 'com.github.satoshun.coroutinebinding:coroutinebinding:{latest-version}'

'appcompat' library bindings:

implementation 'com.github.satoshun.coroutinebinding:coroutinebinding-appcompat:{latest-version}'

'constraintLayout' library bindings:

implementation 'com.github.satoshun.coroutinebinding:coroutinebinding-constraintlayout:{latest-version}'

'androidx core' library bindings:

implementation 'com.github.satoshun.coroutinebinding:coroutinebinding-core:{latest-version}'

'DrawerLayout' library bindings:

implementation 'com.github.satoshun.coroutinebinding:coroutinebinding-drawerlayout:{latest-version}'

'Material component' library bindings:

implementation 'com.github.satoshun.coroutinebinding:coroutinebinding-material:{latest-version}'

'RecyclerView' library bindings:

implementation 'com.github.satoshun.coroutinebinding:coroutinebinding-recyclerview:{latest-version}'

'SlidingPaneLayout' library bindings:

implementation 'com.github.satoshun.coroutinebinding:coroutinebinding-slidingpanelayout:{latest-version}'

'SwipeRefreshLayout' library bindings:

implementation 'com.github.satoshun.coroutinebinding:coroutinebinding-swiperefreshlayout:{latest-version}'

'ViewPager' library bindings:

implementation 'com.github.satoshun.coroutinebinding:coroutinebinding-viewpager:{latest-version}'

what is this?

Android event (e.g., view clicks) is transformed to ReceiveChannel.

This project is inspired by RxBinding. This library APIs is same RxBinding!

etc

This library borrows so many many many codes from RxBinding. Thx!

License

Copyright (C) 2018 Sato Shun

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.