| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Kotlin event-bus compatible with Android & iOS
val bus = Bus.getDefault()
//register to a message
bus.addObserver<Boolean>(this, "my_message_key") { value ->
}
//send a message
bus.post("my_message_key", true)
Add the repository
repositories {
maven { url "https://dl.bintray.com/florent37/maven" }
}implementation "com.github.florent37:multiplatform-bus:0.0.2"implementation "com.gitub.florent37:multiplatform-bus-ios:0.0.2"implementation "com.gitub.florent37:multiplatform-bus-android:0.0.2"Copyright 2018 Florent37 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.
| Back | FazBrowse Home | New Git URL |