https://kotlinlang.org logo
t

tcracknell

03/04/2020, 6:14 PM
Hello! The latest Jetpack Compose minor release, dev06, has just dropped and you can get it now on Google’s Maven Repository. Release notes are available at https://developer.android.com/jetpack/androidx/releases/compose and https://developer.android.com/jetpack/androidx/releases/ui. Please note that the majority of the documentation including codelabs, tutorials, and samples will only be updated for major releases so you may notice some discrepancies if you’re using the latest version of Compose. Feedback is always welcome; please log issues at https://issuetracker.google.com/issues/new?component=612128!
K 6
🎉 22
k

Kazemihabib1996

03/04/2020, 8:09 PM
androidx.ui.foundation.DrawImage
has been removen in dev06?
l

Leland Richardson [G]

03/04/2020, 8:44 PM
yes. all of the
Draw*
composables which essentially drew into their parents have been removed. For DrawImage replacement you might want to look at
ImagePainter
Painter
is similar in scope to
Drawable
you can pass them in as modifiers right now. We are also working on a top level
Image
composable which is more likely what you will want in common case, it did not make it into dev06 though
k

Kazemihabib1996

03/04/2020, 9:09 PM
is
DrawVector
also going to be removed in next version?
l

Leland Richardson [G]

03/04/2020, 9:39 PM
my guess is yes though i’m not 100% sure. anything that “Draws assuming the size of its parent container without considering layout” will be removed, of which
DrawVector
is one i beliebe
k

Kazemihabib1996

03/04/2020, 9:42 PM
thanks
j

Javier

03/05/2020, 1:16 PM
@Leland Richardson [G] do you know if dev06 fixes the kapt problem?
l

Leland Richardson [G]

03/05/2020, 5:42 PM
i don’t think so. we are waiting on a rebase to land that will fix this along with coroutines and some other things, but it has taken a lot longer to do than we thought it would
👍 3
2 Views