Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit af2a6088eb927fc3d0806bc875839a01fbf0903e
Author: Andrey Kulikov <andreykulikov@google.com>
Date: Wed Jul 15 15:35:20 2020
Deprecate Rx adapters without explicit initial value
Similarly how we did with Flow adapter already.
Relnote: Rx adapters without explicit initial value are deprecated. Using null is not always the best default, for example when you have a List it is better to start with emptyList() or any other reasonable default
Fixes: 161348384
Test: existing tests are passing
Change-Id: I00025b20be5441dc64edf3077c2e63800e1abf77
M ui/ui-rxjava2/api/0.1.0-dev15.txt
M ui/ui-rxjava2/api/current.txt
M ui/ui-rxjava2/api/public_plus_experimental_0.1.0-dev15.txt
M ui/ui-rxjava2/api/public_plus_experimental_current.txt
M ui/ui-rxjava2/api/restricted_0.1.0-dev15.txt
M ui/ui-rxjava2/api/restricted_current.txt
M ui/ui-rxjava2/samples/src/main/java/androidx/ui/rxjava2/samples/Samples.kt
M ui/ui-rxjava2/src/androidTest/java/androidx/ui/rxjava2/RxJava2AdapterTest.kt
M ui/ui-rxjava2/src/main/java/androidx/ui/rxjava2/RxJava2Adapter.kt
https://android-review.googlesource.com/1363521
Branch: androidx-master-dev
commit af2a6088eb927fc3d0806bc875839a01fbf0903e
Author: Andrey Kulikov <andreykulikov@google.com>
Date: Wed Jul 15 15:35:20 2020
Deprecate Rx adapters without explicit initial value
Similarly how we did with Flow adapter already.
Relnote: Rx adapters without explicit initial value are deprecated. Using null is not always the best default, for example when you have a List it is better to start with emptyList() or any other reasonable default
Fixes: 161348384
Test: existing tests are passing
Change-Id: I00025b20be5441dc64edf3077c2e63800e1abf77
M ui/ui-rxjava2/api/0.1.0-dev15.txt
M ui/ui-rxjava2/api/current.txt
M ui/ui-rxjava2/api/public_plus_experimental_0.1.0-dev15.txt
M ui/ui-rxjava2/api/public_plus_experimental_current.txt
M ui/ui-rxjava2/api/restricted_0.1.0-dev15.txt
M ui/ui-rxjava2/api/restricted_current.txt
M ui/ui-rxjava2/samples/src/main/java/androidx/ui/rxjava2/samples/Samples.kt
M ui/ui-rxjava2/src/androidTest/java/androidx/ui/rxjava2/RxJava2AdapterTest.kt
M ui/ui-rxjava2/src/main/java/androidx/ui/rxjava2/RxJava2Adapter.kt
Description