Priority

object Priority

Predefined priority constants for use with @Subscribe.

Higher values fire first. Handlers with equal priority fire in subscription order.

Custom integer values are also valid:

@Subscribe(priority = 50)
fun onEvent(e: MyEvent) { ... }

Properties

Link copied to clipboard
const val HIGH: Int = 100
Link copied to clipboard
const val HIGHEST: Int = 200
Link copied to clipboard
const val LOW: Int
Link copied to clipboard
const val LOWEST: Int
Link copied to clipboard
const val NORMAL: Int = 0