Compose First: View Components Enter Maintenance Mode

▶ Watch (2:10)

Google declared Compose-first for all Android UI. View components such as RecyclerView, Fragments, and Material view components enter maintenance mode. They receive no new features, only critical bug fixes. Compose 1.10 and 1.11 shipped the retain API, deterministic testing, shared element transitions, and an experimental Styles API. The Styles API separates component anatomy from appearance. New Android Studio tools use project context to convert XML layouts to Compose, generating screenshot tests to verify quality.

Performance Gains from Compose 1.11 and R8 Insights

▶ Watch (5:12)

Compose 1.11 delivers better scroll jank, startup speed, and hybrid UI performance. TikTok reported 20-30% faster page loads after rewriting screens in Compose, with one case showing a 78% speedup. R8 insights now appear in the Play Console. The R8 configuration analyzer scores optimization effectiveness. Tinder removed one overly broad keep rule and cut APK size by 28% while reducing ANR and cold start rates. A new AI skill helps agents work with the configuration analyzer.

Android 17: Memory Limits and Platform Performance

▶ Watch (8:57)

Android 17 introduces memory limits that terminate apps with runaway resource problems like memory leaks. The string memory limiter appears in the exit reason. New profiling triggers help diagnose cold starts and excessive CPU usage. LeakCanary integrates with the Android Studio Profiler. Gemini can explain leaks and suggest fixes. ART adds young generation garbage collections. A lock-free message queue implementation reduces UI jank and runs up to 5,000 times faster in high-contention cases. Vulkan becomes the native GPU API.

AI Agents Meet Android: App Functions and On-Device Models

▶ Watch (15:57)

App Functions is a new Android platform API and Jetpack library for building MCP integrations. Apps behave as on-device MCP servers, contributing tools for client agents like Gemini. A demo showed an AI skill adding four app functions to the Now in Android app automatically: list topics, list articles, follow topics, and bookmark articles. The functions ran in a test agent and then with a live Gemini instance, which composed two apps to send an article through a chat app. Gemini Nano runs on over 140 million devices.

Adapting Apps for Phones, Watches, XR, Cars, and Desktops

▶ Watch (30:56)

Over 580 million large screen users spend more time in apps. Android 17 forces full-screen layouts on large devices. Navigation 3.1 introduces scene decorators for global UI. Three new Compose APIs, MediaQuery, Flexbox, and Grid, help build adaptive layouts. Wear OS 7 delivers up to 10% better battery life. Mobile UI automation handles tasks like ordering DoorDash hands-free. Existing Android apps extend to wired XR glasses. The new Google Book OS runs Android apps on desktops.

Notable Quotes

And we believe that all Android UI should now be built with Jetpack Compose. Ash Nohe · ▶ Watch (2:10)

And we consider the view components that Compose replaces to now be in maintenance mode. Ash Nohe · ▶ Watch (2:22)

up to 5,000 times faster in particularly contentious cases Daniel Galpin · ▶ Watch (11:23)

app functions is an Android platform API and a Jetpack library that simplifies building Android MCP integrations Nick Butcher · ▶ Watch (15:57)

Nano is now available on over 140 million devices. Nick Butcher · ▶ Watch (21:27)

Key Takeaways

  • All new Android UI APIs target Compose; view components are in maintenance mode.
  • Android 17 memory limits and lock-free queues improve platform responsiveness.
  • App Functions lets apps act as MCP servers for Gemini agents with AI-assisted setup.