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
Creating a new Android Studio Project for Kotlin or Java is one of the first steps in every tutorial you will follow along either on this site or any other, that’s why even though there are many options and references on how to do it, I decided to create my own version of this, as some may be too complicated or hard to understand.Read More
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 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
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
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
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:
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
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
Throughout the twelve years, I’ve been on this never-ending path of mobile development, I have heard this (not so easy to answer) question more times I can keep track of. And the time has come for me to answer this in a more formal way that I can do it on a 5-minute chit-chat.Read More