All Projects → wongzy → Rxeventbus

wongzy / Rxeventbus

Licence: apache-2.0
A EventBus based on RxJava2, using Retention.CLASS annotation.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Rxeventbus

MVPSamples
🚀(Java 版)快速搭建 MVP + RxJava + Retrofit + EventBus 的框架,方便快速开发新项目、减少开发成本。
Stars: ✭ 113 (+66.18%)
Mutual labels:  eventbus, rxjava2
Kotlinmvpsamples
🚀(Kotlin 版 )快速搭建 Kotlin + MVP + RxJava + Retrofit + EventBus 的框架,方便快速开发新项目、减少开发成本。
Stars: ✭ 103 (+51.47%)
Mutual labels:  rxjava2, eventbus
Rxbus2
RxJava2 based bus with queuing (e.g. lifecycle based) support
Stars: ✭ 116 (+70.59%)
Mutual labels:  rxjava2, eventbus
ReactiveBus
🚍 Reactive Event Bus for JVM (1.7+) and Android apps built with RxJava 2
Stars: ✭ 17 (-75%)
Mutual labels:  eventbus, rxjava2
Nybus
NYBus (RxBus) - A pub-sub library for Android and Java applications
Stars: ✭ 283 (+316.18%)
Mutual labels:  rxjava2, eventbus
Rxbus
🚌 The RxBus as steady as an old dog.
Stars: ✭ 334 (+391.18%)
Mutual labels:  rxjava2, eventbus
Apollo
🚀 Awesome EventBus by RxJava.
Stars: ✭ 329 (+383.82%)
Mutual labels:  rxjava2, eventbus
Devring
安卓基础开发库,包含各常用模块,让开发简单点。
Stars: ✭ 414 (+508.82%)
Mutual labels:  rxjava2, eventbus
Bigbang
Android base project used by Xmartlabs team
Stars: ✭ 47 (-30.88%)
Mutual labels:  rxjava2
Retrokotlin
Simple Android app to show how unit testing with MockWebServer and Architecture Components (ViewModel + LiveData)
Stars: ✭ 55 (-19.12%)
Mutual labels:  rxjava2
Newssync
Sample application with MVVM pattern using RxJava and Architecture Components
Stars: ✭ 46 (-32.35%)
Mutual labels:  rxjava2
Jsoupsample
jsoupSample
Stars: ✭ 48 (-29.41%)
Mutual labels:  rxjava2
Tdcapp
Sample app which access the TDC (The Developer's Conference) REST API.
Stars: ✭ 55 (-19.12%)
Mutual labels:  rxjava2
Graphql Retrofit Converter
A Retrofit 2 Converter.Factory for GraphQL.
Stars: ✭ 46 (-32.35%)
Mutual labels:  rxjava2
Weatherapplication
A WeatherApplication with usage of different libraries of Android.
Stars: ✭ 61 (-10.29%)
Mutual labels:  rxjava2
Todo List
待办事项APP
Stars: ✭ 45 (-33.82%)
Mutual labels:  rxjava2
Exchange Rates Mvvm
Sample Android project which incorporates MVVM, databinding, RxJava2, Dagger2 and Clean Architecture approach.
Stars: ✭ 43 (-36.76%)
Mutual labels:  rxjava2
Gankioclient
利用干货集中营的API自制练手之作
Stars: ✭ 63 (-7.35%)
Mutual labels:  rxjava2
Aiyagirl
🔥 爱吖妹纸(含 Kotlin 分支版本)——Retrofit + RxJava + MVP 架构 APP 体验代码家的干货集中营 Gank.io,福利多多,不容错过
Stars: ✭ 1,109 (+1530.88%)
Mutual labels:  rxjava2
Business Search App Java
Showcases object oriented programming in Java, Java Swing, Kotlin, and Android
Stars: ✭ 53 (-22.06%)
Mutual labels:  rxjava2

RxEventBus | 中文文档

A EventBus based on RxJava2, using Retention.CLASS annotation.

Getting Started

  • Subscriber
  1. register subscriber
@Override
    public void onStart() {
        super.onStart();
        RxEventBus.getDefault().register(this);
    }
  1. write Subscribe method, like this
@Subscribe(threadMode = ThreadMode.MAIN)
    public void onMessageHandle(String s) {
        mTextView.setText(s);
    }
  1. don't forget unregister when activity or others destroyed
@Override
    public void onDestroy() {
        super.onDestroy();
        RxEventBus.getDefault().unregister(this);
    }
  • Post
RxEventBus.getDefault().post(mEditText.getText().toString());

Of cause you can post any kind of message, not just String

Install

this project isn't pushed to maven, if you want to use it, just

git clone https://github.com/JoshuaRogue/RxEventBus.git

and copy module to your project.

It will be pushed to maven soon.

demo

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].