Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

This Week in Mobile: The Google I/O Edition

DZone's Guide to

This Week in Mobile: The Google I/O Edition

Google I/O features heavily this week, and rightly so. It was a pretty good event for app developers. We didn't leave iOS behind, though!

· Mobile Zone ·
Free Resource

Now that the dust has settled after Google I/O, we’re going to focus a lot on the announcements from the event and some of the early analysis around it. 

Android 

During I/O we saw Android Jetpack announced - a really nice way of bundling the libraries, tools and architectural guidance that every developer should be using to build mobile apps. Does it make it a bit too easy to get started? Maybe. But that lets you focus on business! Here’s the official word from Google on how to leverage Jetpack.

Developers should be pretty excited about three new Android Architecture Components. Now we’ve got a Paging Library to help with loading data better into a RecyclerView, Navigation which simplifies your navigation implementation and WorkManager for asynchronous and deferrable tasks. Of course, people are already getting a feel for all of these, new components - read Scheduling Tasks with Work Manager, The Power of Chains in the WorkManager APIs and A Problem Like Navigation.

The Android Support Library also got an uplift, with a new name (AndroidX), which will mess with your existing codebase should you use it. But it’s the future, so you should!

Firebase got it’s usual round of updates at Google I/O too, with ML Kit, and better performance monitoring. Firebase Test Lab has even extended to iOS. If you’re curious about ML Kit, and you should be, read about it on Introducing ML Kit.

See how Google is Redefining Mobile With Artificial Intelligence, with examples such as adaptive battery at the core of how the platform is evolving. 

Material Design is moving forward, without being as explicit to call it Material Design 2, Google has brought about a suite of tools and guideline for designs to be more flexible in incorporating their own brand guidelines.

Room has quickly taken over from other SQLite implementations since it’s introduction a year ago. Here are 7 Pro Tips for Room to get you going with it.

There’s an interesting post about Building Abstractions for the Sake of Building Abstractions, taking a critical look at MVC, MVP, VIPE, MVVM, MVI, FLUX, REDUX and all these other architecture patterns that have risen over the last few years. 

And if that all wasn’t enough, check out these projects: 

iOS 

The iOS Testing Manifesto sets down some great rules for writing unit tests and dealing with different levels of testing. Essential reading for all developers.

Sticking with the testing theme, Memory Leaks in Swift looks at how to utilize unit testing to avoid the bane of every developer’s life. 

CoreData gets a lot of bad press, but it’s possibly down to how some developers use it. Read The Laws of Core Data that, if you follow, you will avoid any of the usual problems. 

Timezone handling will always be one of those issues that catch every single project! So, Dealing With Dates is something that every developer should read. 

Here are some great guidelines around Effective iOS Error Management.

Some projects to check out: 

General

Here are some interesting thoughts on Why Your Programmers Fantasize About a Big Rewrite. I’m sure you’ve been guilty of these things in the past. 

Topics:
swift ,android ,kotlin ,java ,mobile ,mobile app development ,google i/o ,ios

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}