eygraber02/11/2021, 9:00 PM
Kirill Grouchnikov02/11/2021, 9:01 PM
eygraber02/11/2021, 9:04 PM
Adam Powell02/11/2021, 9:07 PM
will be considerably less overhead than
if all you need is the measured size of the element.
is good if you would change the actual structure of the content based on the incoming layout constraints.
Ian Lake02/11/2021, 9:07 PM
eygraber02/11/2021, 9:12 PM
looks like it will provide what I need. Thanks!
Ian Lake02/11/2021, 9:20 PM
(for Coil in this instance) - the ability to change the
(i.e., the URI) based on the size you're passed: https://github.com/chrisbanes/accompanist/blob/main/coil/src/main/java/dev/chrisbanes/accompanist/coil/Coil.kt#L108
under the hood so it is good to know about that as a tool in your toolbox, but image loading isn't something that every dev should have to write from scratch 😛
eygraber02/11/2021, 9:25 PM