Layale Matta Android & Kotlin

A Different Language for each App

Android 13 has introduced a new feature that let you assign a different language to individual applications, allowing you to navigate each app with a specific language without the need to change the Language settings on my whole Android device. What is the benefit of switching languages per app? Several users are bilingual, so... Read more

Persisting Typed Objects with DataStore

In a previous post we have explored how to use Preferences DataStore to migrate our SharedPreferences. And in this post we will focus on Proto DataStore. 🤔 What makes Proto DataStore different? While both Preferences and Proto DataStore allow saving data, they do this in different ways. One important feature is applied only wh... Read more

DataStore is the new SharedPreferences

You’ve definitely used SharedPreferences to store small or simple data sets. But SharedPreferences’ API has a series of downsides and luckily the Jetpack DataStore library aims at addressing those issues. So if you’re currently using SharedPreferences, consider migrating to DataStore instead. And good news, it’s now in Beta 🎉 ... Read more

New to Android? Start here

New to Android? That’s great! You’ll need to know a little bit of Kotlin and Android. The beauty of computer programming is that you do not need to formally go to school to learn how to program. You can learn almost everything that you would need to know online, and for free. The following resources are some that I have person... Read more