commit | 0cf2bc2f53705f493254da4f058a1e5b78842381 | [log] [tgz] |
---|---|---|
author | Robert Snoeberger <snoeberger@google.com> | Fri Apr 10 18:47:47 2020 -0400 |
committer | Robert Snoeberger <snoeberger@google.com> | Fri Apr 10 18:51:36 2020 -0400 |
tree | baea99ea4db72fe9276e478f9336c00641cdf959 | |
parent | bb5e6b49a71775dd86ce938aef2083a93799939e [diff] |
LiveData#getValue can return null The documentation recommends not calling this method on a background thread. The problem is that it returns null until the value is set, and setting the value requires waiting for the set-task to run on the main thread. Fixes: 153697933 Test: seek bar is still working Change-Id: Idbb02e1c9baafd1676f67c1a5408107ed84c41d2