RxBus ProGuard rules

RxBus – is a n event bus based on RxJava and optimized for Android.

ProGuard rules for RxBus

ProGuard removes calls to unused classes and methods. ProGuard also optimizes the bytecode, removes unused code instructions, and obfuscates the remaining classes, fields, and methods with short names. Add the next rules in your ProGuard configuration file.

#################################### RxBus #####################################
-keepattributes *Annotation*
-keepclassmembers class ** {
    @com.anadeainc.rxbus.Subscribe public *;
}

For more information about RxBus please see the website.

Related ProGuard rules

Static Gson ProGuard rules

Popular ProGuard rules