Fixed
Status Update
Comments
rv...@google.com <rv...@google.com>
rv...@google.com <rv...@google.com>
rv...@google.com <rv...@google.com> #2
Seems like it happens on API 21-22 too.
ap...@google.com <ap...@google.com> #3
This is expected. You are calling: enqueueUniquePeriodicWork() with an ExistingPeriodicWorkPolicy.REPLACE. This will cancel running work, and kick off new instances of all Workers.
https://github.com/rubensousa/WorkManagerKitkatBug/blob/master/app/src/main/java/com/github/rubensousa/workkitkatbug/MainActivity.kt#L24
rv...@google.com <rv...@google.com> #4
I just ran the sample again and now the behaviour is different for some weird reason. I forgot to mention that I only used REPLACE to test this properly. Because it also happens with KEEP.
pr...@google.com <pr...@google.com> #5
And shouldn't the behaviour be consistent across all Android versions?
Description
Component used: TV
Version used: 1.0.0-alpha03
Devices/Android versions reproduced on: Emulator (Android TV 4K API 33)
This is pretty simple to reproduce. For items within an immersive list, the
focusableItem
modifier should be applied to each list item in which the background should change. IffocusableItem
is used withclickable
clickable no longer works.I think passing an
InteractionSource
tofocusableItem
which is also shared withclickable
will resolve the issue.