<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Compose on code.kiwi.com</title><link>https://code.kiwi.com/tag/compose/</link><description>Recent content in Compose on code.kiwi.com</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 17 Mar 2023 21:06:30 +0000</lastBuildDate><atom:link href="https://code.kiwi.com/tag/compose/index.xml" rel="self" type="application/rss+xml"/><item><title>Type-safe arguments in Jetpack Navigation Compose</title><link>https://code.kiwi.com/articles/type-safe-arguments-in-jetpack-navigation-compose/</link><pubDate>Sun, 02 Oct 2022 20:07:00 +0000</pubDate><guid>https://code.kiwi.com/articles/type-safe-arguments-in-jetpack-navigation-compose/</guid><description>&lt;p&gt;&lt;img src="https://code.kiwi.com/images/media/5d148e7ef2f4eb230a0ff66b9bf4293331ee6e32df53ef43b93d1a9cb879117d.webp" alt=""&gt;&lt;/p&gt;
&lt;p&gt;NavigationComposeTyped in action&lt;/p&gt;
&lt;p&gt;Jetpack Navigation Compose is the Jetpack Navigation library enhanced for usage in Compose. But the actual “enhancement” is a bit limited and different from the View-based navigation. Most importantly, there are no SafeArgs — a type-safe compile time solution for passing arguments between destinations. Navigation for Compose uses a simple URL pattern — &lt;strong&gt;arguments have to be converted to a string as a query parameter/path segment&lt;/strong&gt;.&lt;/p&gt;</description></item></channel></rss>