Just Eat Alex Dadukin

Just Eat's Link Inlining Optimization for Android

Original post Link Inlining Optimization for Android

Article Summary

Alex Dadukin from Just Eat Takeaway reveals how inline links in Android apps create a localization nightmare. Their team evaluated three common approaches and found them all fundamentally broken.

Just Eat Takeaway's Android team tackled the messy problem of clickable text links embedded in localized strings (think privacy policies and terms). After auditing their fragmented implementations, they discovered each approach had critical flaws around translation accuracy, code complexity, and maintainability.

Key Takeaways

Critical Insight

A custom Markdown-inspired syntax solves Android inline link localization by using identifiers instead of hardcoded URLs, reducing cognitive load while supporting arbitrary styling and custom click actions.

Continue reading

What This Article Covers

Problem

Just Eat Takeaway's Android team struggled with cognitive load from inline links. Each set of n links required between n and 2n+1 separate string resources, and translations often got mixed up across different grammatical variations.

Solution

Alex Dadukin's team switched to a Markdown-like syntax that uses identifiers instead of URLs. This enabled a stack-based parsing algorithm with linear time complexity, which kept link interpretation separate from the localized string.

Impact

The team no longer needed extra translatable resources. The approach also supported arbitrary styling, custom intents, and deeplinks as a single pre-processing step that integrated into existing design libraries.

The article includes a detailed breakdown of why nested links were deliberately banned from their implementation.

This page summarizes “Link Inlining Optimization for Android” by Just Eat, published Jun 27, 2025. All credit for the original work goes to the authors.

Read the original on medium.com (opens in new tab)

AI tools for Android

Browse all AI tools →