mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-26 14:09:58 +00:00
Add deprecation notice to SingleLiveEvent.
This commit is contained in:
committed by
Greyson Parrelli
parent
6417f5cce0
commit
9331e9ce89
@@ -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> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user