MindorksOpenSource / Nybus
Licence: apache-2.0
NYBus (RxBus) - A pub-sub library for Android and Java applications
Stars: ✭ 283
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Nybus
Rxcache
简单一步,缓存搞定。这是一个专用于 RxJava,解决 Android 中对任何 Observable 发出的结果做缓存处理的框架
Stars: ✭ 377 (+33.22%)
Mutual labels: rxjava, rxjava2, rxjava-android
ReactiveBus
🚍 Reactive Event Bus for JVM (1.7+) and Android apps built with RxJava 2
Stars: ✭ 17 (-93.99%)
Mutual labels: rxjava, eventbus, rxjava2
Android Mvp Architecture
This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava2, FastAndroidNetworking and PlaceholderView
Stars: ✭ 4,360 (+1440.64%)
Mutual labels: rxjava, rxjava2, rxjava-android
Mvpframes
整合大量主流开源项目并且可高度配置化的 Android MVP 快速集成框架,支持 AndroidX
Stars: ✭ 100 (-64.66%)
Mutual labels: rxjava, rxjava2, rxjava-android
Grox
Grox helps to maintain the state of Java / Android apps.
Stars: ✭ 336 (+18.73%)
Mutual labels: rxjava, rxjava2, rxjava-android
android-online-course
Android Online Course
Stars: ✭ 22 (-92.23%)
Mutual labels: rxjava, rxjava2, rxjava-android
Rxbus
🚌 The RxBus as steady as an old dog.
Stars: ✭ 334 (+18.02%)
Mutual labels: rxjava, rxjava2, eventbus
Rx.observe
Transform any method to an Rx Observable ! (VIPER)
Stars: ✭ 34 (-87.99%)
Mutual labels: rxjava, rxjava2, rxjava-android
Rxjava2 Operators Magician
你用不惯 RxJava,只因缺了这把钥匙 🔑 You are not used to RxJava, just because of the lack of this key.
Stars: ✭ 868 (+206.71%)
Mutual labels: rxjava, rxjava2, rxjava-android
Freezer
A simple & fluent Android ORM, how can it be easier ? RxJava2 compatible
Stars: ✭ 326 (+15.19%)
Mutual labels: rxjava, rxjava2, rxjava-android
RxRetroAPICall
API call example using Retrofit and RxJava2
Stars: ✭ 16 (-94.35%)
Mutual labels: rxjava, rxjava2, rxjava-android
Traceur
Easier RxJava2 debugging with better stacktraces
Stars: ✭ 502 (+77.39%)
Mutual labels: rxjava, rxjava2, rxjava-android
Android Kotlin Mvp Architecture
This repository contains a detailed sample app that implements MVP architecture in Kotlin using Dagger2, Room, RxJava2, FastAndroidNetworking and PlaceholderView
Stars: ✭ 615 (+117.31%)
Mutual labels: rxjava, rxjava2, rxjava-android
Rxjavapriorityscheduler
RxPS - RxJavaPriorityScheduler - A RxJava Priority Scheduler library for Android and Java applications
Stars: ✭ 138 (-51.24%)
Mutual labels: rxjava, rxjava2, rxjava-android
Rxanime
Visualizer to understand RxJava operators
Stars: ✭ 261 (-7.77%)
Mutual labels: rxjava, rxjava2, rxjava-android
RxAnimator
An RxJava2 binding for android Animator
Stars: ✭ 80 (-71.73%)
Mutual labels: rxjava, rxjava2
RxHttp
基于RxJava2+Retrofit+OkHttp4.x封装的网络请求类库,亮点多多,完美兼容MVVM(ViewModel,LiveData),天生支持网络请求和生命周期绑定,天生支持多BaseUrl,支持文件上传下载进度监听,支持断点下载,支持Glide和网络请求公用一个OkHttpClient⭐⭐⭐
Stars: ✭ 25 (-91.17%)
Mutual labels: rxjava, rxjava2
ReactiveConnectivity
ReactiveConnectivity - a library for Listen Connectivity Change on Android
Stars: ✭ 22 (-92.23%)
Mutual labels: rxjava, rxjava2
RxCamera2
Rx Java 2 wrapper for Camera2 google API
Stars: ✭ 27 (-90.46%)
Mutual labels: rxjava, rxjava2
NYBus(RxBus) - A pub-sub library for Android and Java applications.
This pub-sub library NYBus(RxBus) uses RxJava(RxJava2) for creating RxBus(RxBus2). You must have used EventBus. NYBus is very similar to the EventBus. NYBus is implemented using RxJava(RxJava2).
Overview of NYBus(RxBus) pub-sub library
- NYBus is used for posting any type of event to subscribe class in Android and Java applications.
- NYBus also support channel to avoid the problem of event getting received at undesirable places.
- NYBus also support thread customization(thread in which the event should be posted).
- NYBus is built on RxJava(RxJava2).
Using NYBus(RxBus) Library in your application
Android
compile 'com.mindorks.nybus:nybus-android:1.0.0'
Java
compile 'com.mindorks.nybus:nybus-java:1.0.0'
To run all the test cases
gradlew connectedAndroidTest test
Simple Usage
Register on default channel
NYBus.get().register(this);
Unregister from default channel
NYBus.get().unregister(this);
Post on default channel
NYBus.get().post(event);
Receive on default channel
@Subscribe
public void onEvent(Event event) {
}
Usage with specific channel
Register on specific channel
NYBus.get().register(this, Channel.ONE);
Register on more than one channel
NYBus.get().register(this, Channel.ONE, Channel.TWO);
Unregister from channel
NYBus.get().unregister(this, Channel.ONE);
Unregister from more than one channel
NYBus.get().unregister(this, Channel.ONE, Channel.TWO);
Post on a specific channel
NYBus.get().post(event, Channel.ONE);
Receive on a specific channel
@Subscribe(channelId = Channel.ONE)
public void onEvent(Event event) {
}
Receive on more than one channel
@Subscribe(channelId = {Channel.ONE, Channel.TWO})
public void onEvent(Event event) {
}
Usage with specific thread
Receive on specific thread
@Subscribe(threadType = NYThread.MAIN)
public void onEvent(Event event) {
}
Receive on a specific channel and a specific thread
@Subscribe(channelId = Channel.ONE, threadType = NYThread.IO)
public void onEvent(Event event) {
}
Enable Logging
NYBus.get().enableLogging();
It will log: D/NYBus: No target found for the eventclass com.mindorks.Event
If this library helps you in anyway, show your love ❤️ by putting a ⭐️ on this project ✌️
Check out Mindorks awesome open source projects here
License
Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
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.
Contributing to NYBus
All pull requests are welcome, make sure to follow the contribution guidelines when you submit pull request.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].