2 min read

Issue #7

Hello again! 😁

The time has come, Google I/O is here! There’s a lot to cover so this issue will only focus on that. Let’s go 🏎

If these links don't work in your email client, try reading this issue on my website.

  1. Developer Keynote (Google I/O '22)
  2. Google Wallet and new Wallet SDK
  3. How to digitize any wallet object with the Google Wallet API
  4. What's new in Android
  5. Lazy layouts in Compose
  6. Performance best practices for Jetpack Compose
  7. And more! → Checkout every new video here👌

1) Let’s start with this year’s Developer Keynote. I wouldn’t say that this year we got a lot of new things, like SDK’s or API’s. Most of the talks is around Compose and more integrations with watches, measuring health, etc. but still Jetpack Compose is slowly evolving and it’s great to see its progress since last year!

🔗  Developer Keynote (Google I/O '22)

2) Here's one of the biggest news from Google - new Google Wallet. Well, maybe not entirely new, because the initial name of the Google Pay app was “Google Wallet”, but with the new app will come a lot of new features and SDKs/APIs for us. Current Wallet SDK is a mess and it's really old. There's also only one example of it in Java and it doesn't have proper documentation, so I really hope Google will do something to make things better 😂

🔗  Google Wallet

🔗  What's new in Google Pay

🔗  Introducing Google Wallet and developer API features

3) Did you ever buy a ticket for cinema and the ticket was magically added to your GPay app? That's cool but how about making it even more simple and being able to digitize more things like passes, flight tickets, loyalty programs and any other data using a generic pass template? Click below to learn more about it!

🔗  How to digitize any wallet object with the Google Wallet API

4) Here you can check out everything new in Android overall. What’s new in Compose, Android 13, ML, Wallet, Media, WearOS, etc. Wanna know everything on Android? This video is just for you 😉

🔗  What's new in Android

5) One of the most interesting talks for me is this one - understanding different types of Lazy layouts in Compose and how to work with them. It's crucial that every Compose Dev understands the basics of it and knows performance gotchas (there are a lot of them). Compose is great, but it is slower than XML views and it's really easy to slow down the performance, especially when using Lazy layouts.

🔗  Lazy layouts in Compose

6) A few days ago Google shared with us an article about common performance issues in Compose and how to avoid them. This topic was also discussed on this year’s Google I/O. Below you’ll find a lot of useful resources on Compose performance and how even Compose works.

First of all you should know the main phases of Compose - Compose, Layout, Draw and what is done in everyone of them. Next look into common performance problems and how to avoid them. At the end, make sure to enable R8 in your release build and use baseline profiles in your dev environment if your app is significantly slowing down.

Check out all the links below for more info!

🔗  Performance best practices for Jetpack Compose

🔗  Jetpack Compose Phases

🔗  Deep dive into Jetpack Compose layouts

🔗  Compose performance

🔗  Baseline Profiles

That’s it for today, hope you liked it. See you in a few days! 👊

Best, Patryk

patrykkosieradzki.com | androiddevnews.com | androidtalks.com