Posts tagged Android Development

Android App Bundle vs APK

Reading Time: 5 minutes

AABs, APKs. What are them and what’s the difference?

When building Android Apps, you will be facing a myriad of different file formats and terminology. Particularly when exporting the final version of your app, you will be seeing two main output formats. In this post, we will compare Android App Bundle vs APK, which are composed of DEX files. But what do all these acronyms mean?

Read More

Firebase Firestore for Android Architecture Components

Reading Time: 8 minutes

In a previous post, we discussed how to create an Android app with two of the most important building blocks of Android Architecture Components: LiveData and ViewModel. This is a follow up on that tutorial, once we have an app with clean architecture, we will be configuring Firebase Firestore for Android Architecture Components to update data in real-time and make the most out of LiveData and ViewModel in Android. Here is the previous part if you are curious:

Read More

Android Pop-up messages Tutorial for beginners

Reading Time: 6 minutes

How to implement a Snackbar in Android with Kotlin

Since the very early years of computers we started getting familiar with the term ‘pop-up’, back then it was something you wanted to block by all means. Most of the time it was related to publicity or malware. Now in the era of smartphones, we have alerts and dialogs, in which I created a three-part tutorial previously. In this tutorial, we will learn of Android pop-up messages.

Read More

Review of Android Studio 3.6

Reading Time: 5 minutes

A summary of the most important aspects of Android Studio 3.6

On Feb. 24, 2020, Google released the newest version of Android Studio, labeled version 3.6. If you’re like me, you probably haven’t paid attention to this update and will just do it whenever your projects need it or when you finally pay attention to the update pop-up.

Read More

Android Alert Dialogs in Kotlin – Tutorial – Part 1: Basics

Reading Time: 6 minutes

Dialogs are present in our every day lives in the digital world, almost every user knows what are we talking about when referring to dialogs: ‘those annoying small windows that cover the screen and interrupt what you want to do’… well sort of, it is like most of our Android UI tools, a way to communicate important messages with users. That’s why I have created this Android Alert Dialogs in Kotlin Tutorial.

Read More

Hash Tables in Kotlin – The HashMap implementation

Reading Time: 4 minutes

Data structures are important topics in any kind of software development, but most of the explanations surrounding them are based in Java. The advantage of Android development is that it was initially done in Java, but in the most recent years, Kotlin has been the preferred language for development. For this reason, it’s important to understand and take the classical and broad Java knowledge into modern programming languages. This is important for a number of reasons, among which we could mention: knowing data structures gives us strong programming bases, makes coding easier, helps us optimize execution time and memory, and also they are usually asked in technical interviews! So let’s start with Hash Tables in Kotlin.

Read More

What is Android X?

Reading Time: 5 minutes

What is this new support library and why is it needed in the Android world?

Whether you’re an experienced Android developer or are new to the platform, if you have written Android code recently, it’s highly likely that you wonder what is Android X exactly. If you’re like me, most likely you don’t look into the details behind what this term means or what the difference is between it and other imports you make to your app, like the Support Library. But if you’re here, most likely you’re wondering what’s behind AndroidX. I hope to clarify some of your doubts about it.

Read More

Kotlin Basic Types – Strings

Reading Time: 4 minutes

How Strings work in Kotlin

Kotlin has five basic data types. In a previous post, we discussed the first basic type in Kotlin, numbers.

This time, the discussion will be related to strings. This time the discussion will be related to Strings.

In Kotlin, like in most programming languages, strings are groups of characters that form what we normally use as words, even though this is not necessarily true, as strings can have a group of characters that don’t make any sense and still be the same type.

Read More