Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Java & JVM Remove topic Java & JVM Clear all 2 posts RSS

2025

2024

Etsy Code as Craft

Macramé: Untangling the Knot on the Etsy Android Listing Screen

Case study 7 min +70 XP

Etsy rewrote its 4000-line Android listing Fragment into Macramé, a Mobius-inspired unidirectional architecture: a single immutable State exposed via StateFlow, flattened into small UI models rendered by a RecyclerView with ListAdapter diffing, and a sealed-class Event dispatcher routing actions to single-purpose Handlers that update State, launch async work, or emit SideEffects to the Fragment.

The quest for software engineering knowledge.

Look:
Layout: