Add deprecation notice to SingleLiveEvent.
This commit is contained in:
parent
6417f5cce0
commit
9331e9ce89
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
|||
* explicit call to setValue() or call().
|
||||
* <p>
|
||||
* Note that only one observer is going to be notified of changes.
|
||||
*
|
||||
* @deprecated Use a PublishSubject or PublishProcessor instead.
|
||||
*/
|
||||
public class SingleLiveEvent<T> extends MutableLiveData<T> {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue