vite.rxbus.RxThread Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rxbus-annotations Show documentation
Show all versions of rxbus-annotations Show documentation
RxBus base on RxJava2 & RxAndroid to achieve event bus.
package vite.rxbus;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by trs on 17-1-4.
*/
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD)
public @interface RxThread {
ThreadType value() default ThreadType.MainThread;
}