Open in app

Sign in

Write

Sign in

Alexander Portillo
Alexander Portillo

6 Followers

Home

About

Jul 17

Collapsing Toolbar | Android | XML

Demo — In this article, I will be showing you how to create a collapsing toolbar with an image and a nested scroll view. It is a very appealing feature to add to your application so let’s get started :) First, we will make the status bar black and get rid…

Android App Development

5 min read

Android App Development

5 min read


Published in

Dev Genius

·Aug 13, 2022

Create A Countdown Timer That Runs Even If The App Is Closed

Video Demo I will be demonstrating how to create a count down timer that works if you exit the app and come back after a period of time. You will be able to start, stop and reset the timer. We will be using shared preferences to make this work. Scroll…

Kotlin

5 min read

Create A Countdown Timer That Runs Even If The App Is Closed
Create A Countdown Timer That Runs Even If The App Is Closed
Kotlin

5 min read


Apr 21, 2022

Room Database Migration in Kotlin

There are two migrating options that Room supports. There are automated migrations and manual migrations. You can use automated migrations when you are deleting or renaming a table or column, updating the primary key, adding a new column or table, etc. If you are working with a more complicated change…

Kotlin

2 min read

Kotlin

2 min read


Apr 14, 2022

LiveData in Kotlin

LiveData is used to get real-time updates from activities, fragments, or services. The LiveData only notifies the activity or fragment about an update if they are in a Started or Resumed lifecycle state. The ability of LiveData to understand the lifecycle of the app components makes LiveData so powerful. Benefits …

Kotlin

2 min read

Kotlin

2 min read


Apr 8, 2022

Extension Functions in Kotlin

Extension functions make our code look more readable and clean. Kotlin allows us to extend the functionality of a class without having to inherit from the class. I will be showing you how to create an extension function and why you should start using them as you code. We will…

Kotlin

1 min read

Kotlin

1 min read


Mar 3, 2022

Fused Location Provider in Kotlin

I will be showing you how to use the fused location provider to get the device’s current location. 1. Add the dependency Go to your build.gradle (Module: app) file and add this. implementation 'com.google.android.gms:play-services-location:19.0.1' Enable view binding in your build.gradle file also. viewBinding { enabled = true } 2. Add the permissions Go to your AndroidManifest.xml …

Kotlin

3 min read

Fused Location Provider in Kotlin
Fused Location Provider in Kotlin
Kotlin

3 min read


Aug 20, 2021

Floating Action Buttons

FABs (short for Floating Action Button) are very important to understand and can be a very useful tool to use in our apps. I will be talking about the basics of how they work and a couple of tips on when you should add a FAB into your app. Types…

2 min read

2 min read


Jul 29, 2021

Using Git on Command Line

Knowing how to use git in the command line is not necessary but I would recommend using it so you know how Git actually works. Here are some of the basic commands that are used a lot. Initializing a Local Git Repository Make sure you are in the folder that…

2 min read

Using Git on Command Line
Using Git on Command Line

2 min read


Jul 13, 2021

Chains in ConstraintLayout

In this article, I will explain how chains work and you will see why they are so useful. So you may be wondering when to use chains in your layouts. It is very helpful when you are looking to evenly space out views in your layout. …

2 min read

Chains in ConstraintLayout
Chains in ConstraintLayout

2 min read

Alexander Portillo

Alexander Portillo

6 Followers

21 Years Old | Pursuing Android Development

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams