All Posts

Escaping Callback Hell with Generic SuspendCoroutine Infix Extension Functions

Escaping Callback Hell with Generic SuspendCoroutine Infix Extension Functions

Callback hell happens all the time in Android. Luckily, with coroutines, there’s an easy way out.

The Problem with Kotlin Kfunction Receiver Functions

The Problem with Kotlin Kfunction Receiver Functions

KFunction can be written in more than one way. Here’s a list of analogues, plus some criticism of the Receiver Function.

Creating and Deploying an Android Library via CircleCI

Creating and Deploying an Android Library via CircleCI

This is the template I use to create new Android libraries with CircleCI support for Continuous Deployment.

Generics + Reflection + Type Inference + Reified Type = Kotlin Magic

Generics + Reflection + Type Inference + Reified Type = Kotlin Magic

With Kotlin, it’s easier than ever to code with reflection and generics. This post attempts to give one example.

Don't Pass Around Your Room/Database Entity

Don't Pass Around Your Room/Database Entity

If you’re thinking of modularizing your Android App and you use Android Room, you should not pass around your Room Entity.

Is your modularization making any progress?

Is your modularization making any progress?

You should modularize your Kotlin Android app, since it’s the best way to enforce separation of concerns, but how do you know if you’re doing it right? Here’s some tips to help.

How I made this

How I made this

This details how I made this static github page.

Original Site

Original Site

My original site is at JacquesSmuts.com

References

List of appearances and refences, from new to old 2019-05-14: Generics Article featured in Android Weekly #361 2019-05-05: Room Article featured in Android Weekly #360 2019-05-05: Generics Article featured in Kotlin Weekly #144 2018-12-09: RxJava Presentation featured in Android Weekly #339 2018-12-07: Presented RxJava: As Simple and Powerful As I Can Make It at GDG DevFest Johannesburg 2018