Posts in Mobile

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

Swift UI – A pragmatical introduction

Reading Time: 4 minutes

It has been a month and a half since SwiftUI came out, and like every year, when Apple announces it’s multiple (overwhelming) updates for developers like me, I promised myself I was going to get ahead of time and learn it right away (yeah just like iOS developers version of New Years Eve resolutions), truth is… I didn’t. So today I took my first dive into it and wanted to make it easier for anyone who still hasn’t had the time to review it, because let’s be honest, at the moment, it is not required in our every day, but it will someday be. As the title states, this comes from my first glance into SwiftUI.

Read More

Kotlin Basic Types – Numbers

Reading Time: 4 minutes

The first topic to begin exploring Kotlin are data types, in this language, they are called ‘Basic’ types, which is not exactly the same as what many developers refer to as ‘Primitives’, but this is a topic for another post. Kotlin mentions in the documentation five of these types:

  1. Numbers
  2. Characters
  3. Booleans
  4. Arrays
  5. Strings

Across this post, I will focus on giving a friendly explanation about the first type ‘Numbers‘, because, even experienced programmers (me included), sometimes get overwhelmed by the amount of information we find in the ‘official docs’.

Read More

Where to start on mobile development? – What to choose Android or iOS?

Reading Time: 4 minutes

4 min read

In the previous part of this series we talked about the hardware you need to start developing on mobile platforms. There we mentioned there is an initial stopper for developing on iOS, ‘you need a Mac’. If this isn’t a problem for you and are still wondering which one you should choose, this is what I’m going to talk about on this article.

Read More