-
Call Multiple APIs using Coroutines
Every time my app starts, I need to call 2-3 URL endpoints to get the latest data from the API. Every app encounters this scenario one way or another. I need to know when each API call finishes so that I can prompt the user a Snackbar or dialog to indicate that I already got […]
-
Bluetooth printer scanning using Kotlin
One of the requirements of my current project is to be able to establish Bluetooth connection and send texts to print. See the video below for the result. Let’s create an empty Android project and let’s call it BluetoothPrintingSample. Then, create a layout folder inside res folder. Let’s create a simple layout called activity_print.xml. Open […]
-
My 9th Google I/O
This week was all about Google I/O and this year was my 9th year watching the event. I enjoyed this year’s event compared to the last 2-3 years. It reminded me of when Google introduced Holo theme and Material Design. This year they introduced Material You. On the technical side, they introduced a bunch of updates […]
-
Pass list of objects in Intent using Kotlin
Every Android developer is familiar with passing data between Activities using Bundle. The old Java way was to implement Parcelable class and then you override all the required methods. See example below. You can read more of the details here. I’m not really a fan of this type of implementation because it will make my […]
-
OnlineJobs for iOS (v4.5.2) Bug
Last week, it was one of those times where you know something went wrong when suddenly you get multiple Slack notifications. I received a Slack notification for every minute, I had to mute the channel. When I open the Bugsnag dashboard, I could see it was affecting hundreds of users. As of this moment, 154 […]