Modifier and Type | Method and Description |
---|---|
static <T> BehaviorRelay<T> |
BehaviorRelay.create()
Creates a
BehaviorRelay without a default item. |
static <T> BehaviorRelay<T> |
BehaviorRelay.createDefault(T defaultValue)
Creates a
BehaviorRelay that emits the last item it observed and all subsequent items to each
Observer that subscribes to it. |
Copyright © 2015-2016. All Rights Reserved.