CoroutineBinding

Additional

Language
Kotlin
Version
1.0.0-rc1 (Nov 9, 2018)
Created
Apr 23, 2018
Updated
Nov 9, 2018
Owner
Sato Shun (satoshun)
Contributor
Sato Shun (satoshun)
1
Activity
Badge
Generate
Download
Source code

Announcement

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.