The two-day GDD conference is over, and I am very happy. I can see that Google is really working hard this time. Not only is the quality of the content shared high. And there’s food and fun, and a lot of pretty girls, so I took two days of annual leave to attend the convention. Let’s start with some pictures
Haha, off topic. Let me talk about the conference from the perspective of an Android coder.
1. Android compatibility
Mainly about the adaptation of Android O and P. For O, it mainly deals with static broadcasting and background services. I feel that Google does these things to save the battery of the phone, while for P, it is mainly the convergence of various non-public SDK APIS.
2.JetPack
A picture is worth a thousand words, and that’s all you need to know.
3. Kotlin
Google boss crazy amway several hair, come back to learn, summarize and apply Kotlin on the PPT several major characteristics
- Type inference
- Air safety
- Data classes
- Extension function
From these features, we can find that Kotlin has the characteristics of less code (25% less code than Java), more secure code (NullPointerException can be effectively prevented) and so on. With the attention of Google father, it will definitely have a good development in the future. After all, Kotlin and Java binaries are fully compatible and can call each other. Programmers can have fun. Maybe after the open source code is Kotlin, I plan to focus on learning this language next.
4. Flutter
There is no reason for me, an Android coder who has not studied much about Flutter, to use Flutter. In my impression, Flutter is no different from RN and Weex, and our company uses Weex. But when I see the picture below, I feel I should embrace the Flutter.Flutter, after all, calls Skia directly for UI drawing, which is a qualitative difference from other cross-platform frameworks. This is a good place to start if you want a cross-platform framework. Googler is still optimizing.
5. Android App Bundle
Personally, this thing is somewhat similar to the domestic App plug-in, that is, Google Play will distribute the corresponding resources according to the CPU, display pixel, language and other characteristics of the phone, so as to reduce the size of our package, after all, the fewer the package, the higher the App download retention. But you don’t usually use something like Google Play so this is an eye-opener.
6. Other
ConstraintLayout makes it easy to implement styles that are more difficult to implement in other layouts. Other miscellaneous topics, such as AR experiences, Google Translation, pictographs, and food at the garden party and Google Conference, can be discussed at your leisure. Maybe you’re not interested either,
Ha ha. So that’s it for now, and we’ll wrap it up with a Google-dad gift package. I hope to continue this activity next year.