[MUSIC PLAYING]
CHET HAASE: Hi, welcome to Now in Android 24.
Let's get into this thing.
So Jetpack Compose, the alpha release finally came out.
So it's been in developer releases for a while
in developing in the open.
And hopefully you've been checking it out.
If not, that might be a good time for you to do so.
The team released a ton of content
in the last week of 11 Weeks in Android, all specifically aimed
at people learning Jetpack Compose.
A really good place to start, I heard from someone on the team,
is the pathway that was published.
So if you have the time, might take a few hours,
but it's a really good condensed view of all the stuff
that you need to know to spin up on where Jetpack Compose is.
But there were also articles coming out, videos.
Leland Richardson did this Thinking in Compose video
to explain some of the underlying
concepts behind this.
Lots of new code samples, there's a Compose website.
So tons of content to check out.
Spin up on it, learn where the alpha release is going,
learn where Jetpack Compose is going in general.
ConstraintLayout 2.0.
ConstraintLayout has been out for a while.
And 2.0 has been out in earlier versions.
But this is now stable.
Sean McQuillan posted an article detailing
some of the features in ConstraintLayout 2,
including Flow, which is a virtual layout for allowing you
to put containers together that can then adjust and wrap around
if the size on the runtime device
is not what you expected at design time;
Layer, which allows you to transform
several views together in this virtual group;
and MotionLayout.
This is kind of huge.
Again, this has been out there for a while
in earlier versions, and now this is stable.
MotionLayout, as well as Motion Editor,
which ships with the tool.
It is in Android Studio, the stable version, 4.0.
There are some additional bug fixes in the Canary release.
So if you want some of those fixes,
check out the Canary release, which is Android Studio
4.2 at this point.
11 Weeks of Android--
we are done.
There was 11 weeks of content.
And we just served the last two of those weeks
in the last two weeks.
Week 10 was games, media, and 5G.
There was a ton of content in media controls, in new 5G
capabilities and APIs to play with that,
as well as content for game development.
There is a blog that wraps up all the content that
was posted that week.
There is a video playlist you can check out with all of that.
And also, Dan Galpin has his ongoing series called
The Android Game Dev Show.
And he added to that during that week
and will continue adding to that.
So if you're a game developer, be
sure to check out that show and all the rest of the content.
Week 11 ended the whole series with UI.
This was a huge topic.
There was tons and tons of content coming out
for Jetpack Compose, which I've already talked about,
so I won't do that again, but also
a lot of other things going on in the platform,
in the unbundled libraries, and the tools.
There was everything from keyboard animation
to material design component development stuff,
to the Compose Alpha stuff that I talked about.
There's a blog that wraps up all the links to all the content
that you should check out.
There's the modern UI pathway, another pathway
that sort of steps you through a lot of the core stuff that
came out during that week, articles, videos, code labs.
There's a video playlist for the week that you can check out.
And then finally, next week--
nothing.
The team is done.
I think everyone is exhausted, the team that put it
all together, the developers that
absorbed all of this content.
So everybody's taking a step back, breathing.
I think the YouTube servers are probably taking a step back as
well, breathing a sigh of relief before they go
on with the next set of stuff.
Also, speaking of finishing, Android 11 Meet-ups,
that series is also done.
This is really unusual for a software person
to actually see projects that finish.
But both of those finished.
So we're done with the online meet-ups.
We had meet-ups happening all over the world all summer long.
At last count, we had 57 different locations.
And a lot of those were combined locations spread
across several locations.
And of course, anybody across the world
could have tuned into any of them.
So let's just say it happened everywhere, all day,
every day during the summer.
Not just 57, we're just everywhere, right?
So there was tons of stuff.
Hopefully you got to at least some of those events.
If you did not, some of the videos from those events
are posted on the meet-up site.
So check that out if you want to see what happened.
AndroidX-- obviously releasing more stuff.
Every two weeks, they release more.
Some of the things that came out recently,
in addition to the incremental alpha and beta
releases that are always coming out, Concurrent 1.1.
This library simplifies converting
from ListenableFuture to Kotlin coroutines.
WebKit 1.3.0-- this new version of that library
enables force dark strategy, the web MessageListener API,
as well as the ability to check whether the WebView is
running in multi-process mode.
And security identity credential 1.0.0--
this is an alpha release.
This is the first alpha release, so maybe
not ready for prime time, but a good indication
of where it is going.
This new library allows you to use the new credential
APIs in Android 11 with KeyStore-backed implementation
for older releases going all the way back to API 24.
There was a new article on structural class redefinition.
Alex Light posted this talking about changes
that the team made to JVM TI, Java Virtual Machine Tool
Interface.
Why did they do this?
They did it to enable things like better implementation
of Apply Changes in Android studio.
So now they can actually inject changes
that include things like adding methods and fields to classes.
And that means that more of your code changes
can be absorbed and go through the Apply Changes tool
to allow faster build and install time
than was previously possible.
Also, there is a new video series called Motion Tags.
There's a playlist posted with four episodes so far.
This is from the Android Studio team talking about the tags
that you can use in MotionLayout,
that thing I talked about earlier,
to create rich UI animation.
So four episodes so far, more on the way.
So check out that playlist.
And finally, one podcast episode posted, ADB 147 Jetpack Compose
Alpha.
One of the reasons that I love doing the podcast is, it's not
just about, here is this API, and here is how it works,
and here is how you use it.
It's really the underlying story of how
things work on the platform, or the unbundled libraries
in the API, and what the background was,
and what the thoughts of the designers and the developers
were going into this.
And that was one of those conversations.
So Romain and I sat down with Clara Bayarri, Matvei Malkov,
and Anna Chiara Bellini from the Jetpack Compose team,
from the toolkit team.
And we talked about some of the background
at Compose, how the ideas came about,
how you think about API design in general,
how you go about building a brand new UI toolkit,
and even what the term "alpha" means to all of us.
So as usual, all of the links to everything I've talked about
are in the article, so check out the article for the details.
And if you liked the video, go ahead and like and share,
and subscribe to the Android Developers channel on YouTube.
Thanks.
[MUSIC PLAYING]