Android
July 6, 2020

Understanding How and Why: The MVI Android Architecture

MVP and MVVM are both pretty prominent, and nowadays, quite standard in the Android community but one other popular architecture has made a name for itself, and that's MVI. MVI…

I have a YouTube channel

Go check it out

General
June 30, 2020

Don’t have a website? Look no further than Litehouse Tech | Professional websites for just £49.99

Over the past few months, I've been spending some time starting my very first business, Litehouse Tech. Our whole shtick is we do cheap professional websites for £49.99 with the…
Android
June 22, 2020

Android Textview Spannable Cheat Sheet

Note that this cheat sheet will explain everything using text.setSpan. The code that around this should resemble something like this. val text = SpannableString("Hello World") text.setSpan(...) textview.setText(text, TextView.BufferType.SPANNABLE) Bold text.setSpan(…
General
June 16, 2020

3 Reasons why EVERY Software Developer should have a blog

https://www.youtube.com/watch?v=62c4CqvRgnI   Transcript 2 years ago, in October 2018, after a rather inspirational trip to France, I decided to start my blog at EricDecanini.com where I talk about all things…

Subscribe to the Blog

And get the latest updates on all things trendy on Android

Signing up to this newsletter means you’ll be updated via email whenever I release my weekly posts and will assure you a 100% chance in becoming an awesome Android Developer.

 

See More

Spotlight

Coroutines are great. They allow us to write asynchronous code as if they were synchronous. It lets us avoid callback hell, transform our data easily, thread switching, etc. It’s a pretty sweet deal.

Testing it however, may not be so straightforward from the get go. You may find your data is returning nulls, or it might seem your coroutines aren’t even executing at all.

But once you figure out why, testing coroutines becomes as simple as using them. All you need to do is apply a few basic rules (no pun intended).

Check out this post to find out just what those rules are and how you can turn into a coroutine testing master in just a few minutes.

Android

Unit Testing Coroutines on Android

Coroutines are great. They allow us to write asynchronous code as if they were synchronous.…

More Recents

March 30, 2020

Dagger 2 Scopes Explained and the mighty Singleton (Scope)

March 23, 2020

Transitioning to Remote Work as a Software Developer (COVID-19 Edition)

March 16, 2020

Top 5 Firebase Extensions as of March 2020

March 9, 2020

Getting Started with Room on Android

March 2, 2020

Using Coroutines with Firebase on Android

February 24, 2020

Top 10 Essential Android Developer Libraries February 2020

February 17, 2020

Kotlin Higher-Order Functions

February 11, 2020

Shorten Long Type Names with Kotlin Type Aliases

Popular Posts

February 25, 2019

Top 10 Essential Libraries for any Android Developer February 2019

November 11, 2019

3 Ways to use Retrofit with LiveData in the MVVM Android Architecture

March 18, 2019

2-Factor Authentication (Email/Password & Phone with Firebase Authentication on Android

March 4, 2019

Managing Firebase Costs

March 25, 2019

Understanding Cloud Firestore Indexing

December 16, 2019

Instant Chat Messenger with Cloud Firestore

October 7, 2019

Kotlin (or Java) Enum Classes: The Good, the Bad and the Ugly

August 12, 2019

Top 10 Essential Android Developer Libraries August 2019

More Recents

May 18, 2020

Network API List Pagination with LiveData

May 11, 2020

(Video) Running Python Scripts on the Android Frontend with Chaquopy

May 4, 2020

Understanding Lifecycle-Aware Components from Android Jetpack

April 27, 2020

Getting to Grips with View Binding on Android

Popular Posts

February 25, 2019

Top 10 Essential Libraries for any Android Developer February 2019

November 11, 2019

3 Ways to use Retrofit with LiveData in the MVVM Android Architecture

March 18, 2019

2-Factor Authentication (Email/Password & Phone with Firebase Authentication on Android

March 4, 2019

Managing Firebase Costs

Newsletter

Subscribe to the Newsletter