👨‍💻 Jorge Castillo
  • Home
  • About
jorge

Jorge Castillo

Android developer, Arrow maintainer, pianist wannabe 🎹

Murcia, Spain •
24 posts •
Kotlin Android

Jetpack Compose Effect Handlers

Learn how to run your side effects 🌀 bound to the @Composable lifecycle.

Jorge Castillo Jorge Castillo 11 min read
Kotlin Android

Tracking side effects at compile time with suspend

Thinking of suspend as a Kotlin stdlib mechanism for flagging and tracking effects at compile time.

Jorge Castillo Jorge Castillo 9 min read
Android Compose

Jetpack Compose ViewPager

Let’s use a few minutes to learn how to write a swipeable pager composable.

Jorge Castillo Jorge Castillo 14 min read
Kotlin

Kotlin Continuations

Continuations represent the rest of a program. They are a form of control flow.

Jorge Castillo Jorge Castillo 12 min read
Kotlin

Support for Kotlin SAM in release 1.4

About Kotlin SAM support for Java interoperability and also for Kotlin interfaces starting on release 1.4.

Jorge Castillo Jorge Castillo 4 min read
Android Compose

Await next frame in Jetpack Compose

Learn why view invalidation per se is not a thing in Jetpack Compose.

Jorge Castillo Jorge Castillo 3 min read
Android Compose

Jetpack Compose ConstraintLayout

Learn how to work with ConstraintLayout in Compose.

Jorge Castillo Jorge Castillo 6 min read
Android Compose

Custom Layouts, measuring and WithConstraints in Jetpack Compose

This composable is used when we need to measure children according to incoming constraints by their parent.

Jorge Castillo Jorge Castillo 14 min read
Trainings Education

Tips for productive online courses

A few ideas we learned about how to optimize our online courses in 47 Degrees.

Jorge Castillo Jorge Castillo 5 min read
Fp Kotlin

Making state changes explicit with the State Monad

The astounding Cristo de Monteagudo, very close to my home in Murcia 😲. Let’s discover how to model our state changes in an explicit way in our functional programs.

Jorge Castillo Jorge Castillo 11 min read
Android Kotlin

Contrasting text and icons over background

Detecting whether background is dark or light to pick the right foreground color for better contrast.

Jorge Castillo Jorge Castillo 6 min read
Kotlin Fp

Please DO NOT Try to use IO!

The IO data type is getting deprecated in favor of suspend. Read the post for more details.

Jorge Castillo Jorge Castillo 9 min read
Android Kotlin

Putting view theming into Context

Some words about how to theme views in code by the Context they’re inflated with.

Jorge Castillo Jorge Castillo 6 min read
Android Kotlin

Dependency Inversion on Android Theming

The concept of DI is something we don’t use to associate with XML files like the Android resources. Let’s learn how Android uses it for theming apps.

Jorge Castillo Jorge Castillo 5 min read
Flutter Architecture

Flutter - Testable architecture using Redux

Architecture concepts are often common across platforms. Let’s learn how to build an end to end architecture for Flutter using Redux. Our main focus will be testability. ✅

Jorge Castillo Jorge Castillo 17 min read
Flutter

Flutter Canvas I - Wrap your FAB in a custom progress loader

I start this Flutter series writing about how to paint to Canvas in Flutter, and how to use it to create our own circled progress loader around a FloatingActionButton ✨

Jorge Castillo Jorge Castillo 14 min read
Kotlin Android Fp

Polymorphic apps with Arrow

Typeclasses are all about polymorphism. Achieving it at a program level provides much benefits, but it’s an abstract concept that probably requires a step by step explanation.

Jorge Castillo Jorge Castillo 1 min read
Kotlin Android Fp

When Android met FP

Learning new things is hard, and rejecting the unknown is part of human nature. There’s some reaction inside us that makes our minds reject anything new in some way.

Jorge Castillo Jorge Castillo 6 min read
Kotlin Fp

Kotlin Functional Programming II - Monad Transformers

Step inside to understand how to collapse monad stacks into unified types to reduce nesting 👌

Jorge Castillo Jorge Castillo 11 min read
Kotlin Fp

Kotlin Functional Programming I - Monad Stack

Functional Programming is about encoding concerns into types. Learn how to create an end to end architecture using them.

Jorge Castillo Jorge Castillo 18 min read
Kotlin Fp

Kotlin Functional Programming, Does it make sense?

Functional programming can feel like a big wave of fresh air over a beautiful landscape at sunset. The flowers are literally us. 😍 🌼 (maybe?)

Jorge Castillo Jorge Castillo 9 min read
Kotlin Fp

Kotlin purity and function memoization

Let’s learn about the benefits of “purity” and “pure functions”, and how it affects caching.

Jorge Castillo Jorge Castillo 12 min read
Kotlin

Tail recursion and how to use it in Kotlin

Learn the concept of tail recursion and how to get the most out of it in the Kotlin language.

Jorge Castillo Jorge Castillo 8 min read
Kotlin Fp

Kotlin Dependency Injection with the Reader Monad

In this post you will learn how to provide seamless dependency injection to your Functional Programming architecture using the Reader Monad. Leave Dagger, Koin and Kodein behind!

Jorge Castillo Jorge Castillo 10 min read
👨‍💻 Jorge Castillo © 2020
Proudly published with Jekyll & GitHub Pages using Jasper2
Latest Posts Twitter Ghost