Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
As requested on Slack
Logging on size changed on the contents of the animated content shows:
2024-10-14 21:07:43.315 31325-31352 AAA app.symfonik.music.player.debug E AlbumDetailDestinationKt$AlbumDetailDestination$4$1.invoke$lambda$2$lambda$1@708: Size Changed 1440 x 2812
2024-10-14 21:07:47.208 31325-31355 AAA app.symfonik.music.player.debug E HomeDestinationKt.HomeDestination$lambda$29$lambda$28@339: Size1 Changed 1440 x 2812
2024-10-14 21:07:49.219 31325-31368 AAA app.symfonik.music.player.debug E AlbumDetailDestinationKt$AlbumDetailDestination$4$1.invoke$lambda$2$lambda$1@708: Size Changed 1440 x 2812
2024-10-14 21:07:50.553 31325-31366 AAA app.symfonik.music.player.debug E HomeDestinationKt.HomeDestination$lambda$29$lambda$28@339: Size1 Changed 1440 x 2812
Even when it fails.
Description
Component used: Fragment
Allow developers to detect the usage of retained fragments.
This would hook into calls to
setRetainInstance(true)
and apply the appropriate penalties if this detection was enabled.