-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum LiveEventConfig extends Enum<LiveEventConfig>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NormalSupports multi-observers on all cases the same.
PreferFirstObserverPrefer the first observer when user emit the event, register observer, then the
onStartget called. In this case the first observer will receive the last event.This scenario is specially useful when you want to emit the event in the
initofViewModel, and expect the first observer receive it afteronStart.
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-