<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Stephen on Medium]]></title>
        <description><![CDATA[Stories by Stephen on Medium]]></description>
        <link>https://medium.com/@ssstephennn67?source=rss-4e07b0c4ee76------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*c-nZ36dnIULBe6kZS_NBrw.jpeg</url>
            <title>Stories by Stephen on Medium</title>
            <link>https://medium.com/@ssstephennn67?source=rss-4e07b0c4ee76------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 22:00:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ssstephennn67/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Beyond Beautification: A Smarter, Privacy-First JSON Tool]]></title>
            <link>https://medium.com/@ssstephennn67/beyond-beautification-a-smarter-privacy-first-json-tool-f65e6ce7197d?source=rss-4e07b0c4ee76------2</link>
            <guid isPermaLink="false">https://medium.com/p/f65e6ce7197d</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming-tools]]></category>
            <category><![CDATA[json]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Stephen]]></dc:creator>
            <pubDate>Fri, 13 Feb 2026 07:27:52 GMT</pubDate>
            <atom:updated>2026-02-13T07:31:47.253Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xiJYc05UBjZauQyiw1mVCg.png" /></figure><p>Most JSON beautifiers just fix indentation. When dealing with massive, nested API responses, you need more than just whitespace — you need organization and focus. That’s why I built <strong>JSON Beautifier</strong>.</p><p><strong>Try it here:</strong> <a href="https://ssstephennn67-ux.github.io/JsonBeautifier/">https://ssstephennn67-ux.github.io/JsonBeautifier/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Q04NAp-KibRXWktsG7Qqg.png" /></figure><h3>1. Advanced Data Management</h3><ul><li><strong>Recursive A-Z Sorting</strong>: Unlike basic tools, this recursively sorts every nested object key alphabetically, making side-by-side comparisons effortless.</li><li><strong>Context-Aware Array Filtering</strong>: Tired of scrolling through 100+ fields in an array? Select only the keys you need (e.g., id, name) to create a surgical view of your data.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*LqgVqekhzIBC0io-rlnCfg.png" /></figure><ul><li><strong>Smart Tree Navigation</strong>: One-click to collapse all children or expand the entire structure, with item counts visible on every collapsed node.</li></ul><h3>2. Built with Cursor &amp; AI</h3><p>This project was developed using <strong>Cursor</strong>, the AI code editor. By leveraging AI pair-programming, I was able to:</p><ul><li>Rapidly prototype complex recursive logic.</li><li>Seamlessly integrate multiple themes (One Dark, Monokai, Nord) and multi-language support (English/Traditional Chinese).</li></ul><h3>3. Privacy &amp; Security by Design</h3><p>Your data is sensitive, and it should stay that way.</p><ul><li><strong>Pure Client-Side</strong>: All parsing and filtering happen locally in your browser. No data is ever sent to a server.</li><li><strong>GitHub Public Host</strong>: Hosted on GitHub Pages for full transparency. You can trust the environment you’re working in.</li></ul><blockquote><strong>GitHub Repository Link:</strong> <a href="https://github.com/ssstephennn67-ux/JsonBeautifier">https://ssstephennn67-ux.github.io/JsonBeautifier/</a></blockquote><ul><li><strong>Zero Tracking</strong>: No cookies, no trackers, and no data collection. Your preferences are stored only in your local localStorage.</li></ul><blockquote><strong>Follow my GitHub for more:</strong> <a href="https://github.com/ssstephennn67-ux">@ssstephennn67-ux</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f65e6ce7197d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop the “Recomposition Storm”: Mastering derivedStateOf in Jetpack Compose]]></title>
            <link>https://medium.com/@ssstephennn67/stop-the-recomposition-storm-mastering-derivedstateof-in-jetpack-compose-a1cce3058ee1?source=rss-4e07b0c4ee76------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1cce3058ee1</guid>
            <category><![CDATA[andoid]]></category>
            <category><![CDATA[derivedstateof]]></category>
            <category><![CDATA[recompose]]></category>
            <category><![CDATA[compose]]></category>
            <category><![CDATA[kotlin]]></category>
            <dc:creator><![CDATA[Stephen]]></dc:creator>
            <pubDate>Thu, 05 Feb 2026 08:39:16 GMT</pubDate>
            <atom:updated>2026-02-05T08:39:16.395Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*TezTWpBkAIZ6HD5fh_8-BQ.png" /></figure><p>Have you ever built a simple “Scroll to Top” button, only to notice that your app starts to feel a bit “heavy” or laggy as you scroll? Or perhaps you noticed your phone getting unusually warm during a simple list interaction?</p><p>I recently ran into this exact problem. I wanted to answer a simple <strong>Yes/No</strong> question: <em>“Has the user scrolled past the first item?”</em> To my surprise, when I checked the logs, I found that my component was recomposing <strong>hundreds of times per second</strong> for such a basic check.</p><p>To understand why this happens, let’s look at a real-life example: <strong>Waiting for a delivery.</strong></p><p><strong>The Trap (Direct Read):</strong> You open your tracking app and refresh it every <strong>10 seconds</strong> to see if the driver moved another block.</p><p><strong>Result:</strong> You waste your time, your phone battery dies, and you’re constantly interrupted.</p><ul><li><strong>The Goal (<em>derivedStateOf</em>):</strong> You put your phone away and do your own thing. You only get <strong>one single notification</strong> when the driver is <strong>at your front door</strong>.</li></ul><p><strong>Result:</strong> You are efficient, and your phone stays charged.</p><p><em>In Jetpack Compose, many of us are like the person refreshing the app every 10 seconds. We link our UI directly to high-frequency scroll pixels, creating what I call a “</em><strong><em>Recomposition Storm</em></strong><em>.”</em></p><h3>The “Smoking Gun”: Analyzing the Logs</h3><p>To prove the power of derivedStateOf, look at this comparison between my code and the resulting Logcat:</p><h4>The Code Setup</h4><pre><br>@Composable<br>fun DerivedStateOfComparisonScreen() {<br>    val scrollState = rememberLazyListState()<br>    println(&quot;DerivedStateOfComparisonScreen&quot;)<br>    Column(modifier = Modifier.fillMaxSize()) {<br>        Column(modifier = Modifier.padding(16.dp)) {<br>            BadCounter(scrollState)<br>            Spacer(modifier = Modifier.height(16.dp))<br>            OptimizedCounter(scrollState)<br>        }<br><br>        LazyColumn(<br>            state = scrollState, modifier = Modifier<br>                .weight(1f)<br>                .background(Color.LightGray.copy(0.1f))<br>        ) {<br>            items(20) { i -&gt;<br>                Text(<br>                    &quot;Item $i&quot;, modifier = Modifier<br>                        .padding(16.dp)<br>                        .fillMaxWidth()<br>                )<br>            }<br>        }<br>    }<br>}<br><br>@Composable<br>fun BadCounter(state: LazyListState) {<br>    val isTop = state.firstVisibleItemIndex == 0<br>    Log.d(&quot;ComposeEffect&quot;, &quot;❌ [Bad] Recomposing $isTop&quot;)<br>    Column(<br>        modifier = Modifier<br>            .background(Color.Red.copy(0.1f))<br>            .padding(8.dp)<br>    ) {<br>        if (isTop) Text(&quot;❌ Bad (Direct Read)&quot;)<br>    }<br>}<br><br>@Composable<br>fun OptimizedCounter(state: LazyListState) {<br>    val isTop by remember {<br>        derivedStateOf { state.firstVisibleItemIndex == 0 }<br>    }<br>    Log.d(&quot;ComposeEffect&quot;, &quot;✅ [Optimized] Recomposing $isTop&quot;)<br>    Column(<br>        modifier = Modifier<br>            .background(Color.Green.copy(0.1f))<br>            .padding(8.dp)<br>    ) {<br>        if (isTop) Text(&quot;✅ Optimized (derivedStateOf) &quot;)<br>    }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/317/1*XjsaVoAmLP5rGzMybyWYVA.png" /></figure><p>As you can see from the logs when scrolling back up:</p><ol><li><strong>The “Red X” Spam:</strong> The BadCounter prints &quot;false&quot; over and over again. This is because it is reading firstVisibleItemIndex directly. As the index changes from 10 -&gt; 9 -&gt; 8..., Compose re-runs the code <strong>every single time</strong>, even though the result is still false.</li><li><strong>The “Green Check” Silence:</strong> The OptimizedCounter is completely silent until the very last line. It only triggers <strong>once</strong> when the result finally flips from false to true.</li></ol><h3>Summary</h3><ul><li><strong>The Problem</strong>: Directly reading firstVisibleItemIndex triggers a <strong>Recomposition Storm</strong> because Compose redraws the UI for every single pixel change, even if your logic&#39;s result (true/false) stays the same.</li><li><strong>The Solution</strong>: derivedStateOf acts as a <strong>State Buffer</strong>—it watches the noisy raw data and only wakes up the UI when the final result actually flips, reducing hundreds of useless recompositions to <strong>exactly one</strong>.</li></ul><blockquote><strong>Follow my GitHub for more:</strong> <a href="https://github.com/ssstephennn67-ux">@ssstephennn67-ux</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1cce3058ee1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying Flutter Web to GitHub Pages with GitHub Actions]]></title>
            <link>https://medium.com/@ssstephennn67/deploying-flutter-web-to-github-pages-with-github-actions-164933d3656d?source=rss-4e07b0c4ee76------2</link>
            <guid isPermaLink="false">https://medium.com/p/164933d3656d</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[web-hosting]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[website]]></category>
            <dc:creator><![CDATA[Stephen]]></dc:creator>
            <pubDate>Fri, 30 Jan 2026 05:15:12 GMT</pubDate>
            <atom:updated>2026-01-30T05:33:03.645Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*RRR7BWaRcV3LOoZPzDn5tQ.png" /></figure><h3>Introduction</h3><p>Flutter Web has become a robust choice for building interactive apps and games. But once your app is ready, how do you share it with the world for free? In this guide, I will show you how to automate the deployment of your Flutter Web project to a dedicated GitHub repository using <strong>GitHub Actions</strong>.</p><h3>The Architecture</h3><p>Want to keep your Flutter source code private but host the web version for free? On GitHub Free, Pages must be public. The solution? Use <strong>GitHub Actions</strong> to build your app and push it to a separate, public <strong>Hosting Repo</strong>.</p><ul><li><strong>Source Repo (Private):</strong> Where you Flutter project code.</li><li><strong>Hosting Repo (Public):</strong> A dedicated repo (e.g., FlutterWebHost) for your builds.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/301/1*6flzcW9zHwj_LV0wQt-0EQ.png" /></figure><blockquote><em>Note: If you have a </em><strong><em>GitHub Paid/Enterprise</em></strong><em> account, you can skip this and use a single private repo for both.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*_hsSswzDPsUMPHQADRMLjQ.png" /><figcaption>Make sure you enable the Web platform when you creating the flutter project in android studio.</figcaption></figure><p>If you didn’t check the “Web” box when creating your project in Android Studio, your project will be missing the /webfolder, and GitHub Actions will fail.</p><p>Here is how to add it manually in 2 seconds:</p><ol><li><strong>Enable Web in Flutter Config:<br></strong>Open your terminal and run:</li></ol><pre>flutter config --enable-web</pre><p><strong>2. Inject Web Support into Existing Project: <br> </strong>Navigate to your project root and run:</p><pre>flutter create --platforms=web .</pre><p><strong>3. Verify:</strong> <br>You should now see a /web folder containing index.html. Your project is now ready for the deployment pipeline!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/314/1*KQ67nP4nsusVWuCN-w2oTg.png" /><figcaption>make sure Chrome is installed, and you should see the running option in Chrome (web)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*9b9KwR_5MNscPEis5np-5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/272/1*GD72IlfevFRzk44iY97i8w.png" /><figcaption>Go to S<strong>ettings</strong> of your GitHub account</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*xfoYkybFq-rQcmK7INkjtA.png" /><figcaption>Click <strong>Developer settings</strong>, it should be in the bottom of the list</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*2cmW9sHatYTS8SAcOA3tUw.png" /><figcaption>Click Personal access tokens and Tokens (classic)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*7fEnUNk-qOlYf-6VeqEf6Q.png" /><figcaption>Click Generate new token (classic)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*TIJtga2M7LpCaVFuu3IWOQ.png" /><figcaption>Make sure repo and workflow are checked</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/368/1*jcXsm635inftWIBr5HB5mg.png" /><figcaption>Click <strong>Generate token</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*A0sX0v69nHbr7_fQMFYyvQ.png" /><figcaption>You can only see the token one time, make sure you have copy it.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*Fg_727ZHARk6f8Mvvi4WvA.png" /><figcaption>Back to flutter project settings</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*fBjbzCL1Q-acEGDswo7Qig.png" /><figcaption>Click the <strong>Secrets and variables</strong> and click <strong>Actions</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*frqhr6AKRb3ei_nKIxCdHA.png" /><figcaption>Click <strong>New repository secret</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*9a1uGiBBAdTOOHWazDeyeA.png" /><figcaption>Input the Name as <strong>DEPLOY_TOKEN</strong> and also the <strong>secret</strong> you just created.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*_PGtsRKViQmZ9C-tu5Sj2w.png" /><figcaption>You should see the <strong>DEPLOY_TOKEN</strong> is added to the Repository secrets.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*8Vs0YHnop5XA02L9zg6EsQ.png" /><figcaption>Back to <strong>settings</strong> and click <strong>actions</strong>. Click <strong>set up a workflow yourself</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lvl72NKL0x3IpsTRwYeHsA.png" /><figcaption>create a new file as deploy.yml</figcaption></figure><pre>name: Deploy to WebHost<br><br>on:<br>  push:<br>    branches:<br>      - main  # trigger the action when you push code to this branch<br>  workflow_dispatch: # trigger the action in github<br><br>permissions:<br>  contents: read<br>  pages: write<br>  id-token: write<br><br>jobs:<br>  build:<br>    runs-on: ubuntu-latest<br>    steps:<br>      - uses: actions/checkout@v4<br>      - uses: subosito/flutter-action@v2<br>        with:<br>          channel: stable<br><br>      - name: Get dependencies<br>        run: flutter pub get<br><br>      - name: Build Web<br>        run: flutter build web --release --base-href &quot;/DemoFlutterWebHost/&quot; # replace with your own repo name<br><br>      - name: Deploy to FlutterWebHost<br>        uses: JamesIves/github-pages-deploy-action@v4<br>        with:<br>          token: ${{ secrets.DEPLOY_TOKEN }}<br>          repository-name: ssstephennn67-ux/DemoFlutterWebHost # replace with your own github id and repo name<br>          branch: webhost-pages<br>          folder: build/web</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*v6YnAmYiyo1vQ9ESujnaBA.png" /><figcaption><strong>Commit changes</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vj9fUJPaGevsGnucTfqt2Q.png" /><figcaption>Once you commit, the GitHub action will be trigged since you push the deploy.yml to main branch.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*UTVIp5HpGIXshHYl9d3Kvw.png" /><figcaption>Or you can run the workflow by yourself</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3RngYlcMxEELK6h8azZh7w.png" /><figcaption>Wait the workflow run</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CqawNveNkVrCfPYgtgtCNw.png" /><figcaption>After the workflow finish running, back to the WebHost repo settings and click <strong>pages</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/478/1*J_qxTbsD9iPgfOcGVt6glg.png" /><figcaption>Select webhost-pages and click <strong>Save</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Xqb1oFYpDHOEgeA9FIgPQ.png" /><figcaption>Wait a few seconds, and you should see Your site is live at xxxxx.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P5E1DAfvfOP5Mw0_cMMt4Q.png" /><figcaption>Done.</figcaption></figure><p>I hope this guide helps you get your Flutter project online! If you found this useful, feel free to 👏 <strong>clap</strong> and follow for more Flutter tips.</p><h4>Explore the Source &amp; Live Demo</h4><p>Check out the repositories below to see this architecture in action:</p><blockquote><strong>Hosting Repository :</strong> <a href="https://github.com/ssstephennn67-ux/DemoFlutterWebHost">ssstephennn67-ux/DemoFlutterWebHost</a></blockquote><blockquote><strong>Follow my GitHub for more:</strong> <a href="https://github.com/ssstephennn67-ux">@ssstephennn67-ux</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=164933d3656d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jetpack Compose Animation: It’s Simpler Than You Think]]></title>
            <link>https://medium.com/@ssstephennn67/jetpack-compose-animation-its-simpler-than-you-think-31e1d8248985?source=rss-4e07b0c4ee76------2</link>
            <guid isPermaLink="false">https://medium.com/p/31e1d8248985</guid>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[compose]]></category>
            <category><![CDATA[animation]]></category>
            <category><![CDATA[ui]]></category>
            <dc:creator><![CDATA[Stephen]]></dc:creator>
            <pubDate>Tue, 27 Jan 2026 09:09:55 GMT</pubDate>
            <atom:updated>2026-01-30T05:32:26.233Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*4w_XmxSVDxIw2a8wdHYf1Q.png" /></figure><p><strong>Animations in Jetpack Compose are far more approachable than they seem.</strong> You don’t need to master complex physics or write hundreds of lines of custom transition logic. Most of the time, combining a few built-in tools is enough to create smooth, meaningful UI feedback.</p><p>Today, I want to dive into one of the most versatile and essential tools in the Compose animation toolkit: <strong>AnimatedVisibility</strong>.</p><p><strong>In this article, we’ll dive into:</strong></p><ul><li><strong>The Daily Drivers:</strong> Master the essential enter/exit transitions that you’ll use in 90% of your UI tasks.</li><li><strong>Layering for Impact:</strong> How to seamlessly combine multiple effects — like fades, slides, and expansions — to create a signature feel.</li><li><strong>Effortless Implementation:</strong> A practical, real-world example showing how to achieve high-end results with surprisingly few lines of code.</li></ul><p><strong>State-Driven Animations</strong></p><p>In Jetpack Compose, animations are <strong><em>state-driven</em></strong><em>.</em></p><p>You don’t manually control the animation timeline. <br>Instead, you change the state, and Compose automatically animates the UI to the new state.</p><pre>    var isBoxVisible by remember { mutableStateOf(true) }</pre><p>When <strong><em>isBoxVisible</em></strong> changes, everything depending on it will update — including animations.</p><p><strong>Showing and Hiding Content with AnimatedVisibility</strong></p><p>AnimatedVisibility is one of the most frequently used animation APIs in Compose.</p><pre>    AnimatedVisibility(<br>        visible = isOpen,<br>        enter = scaleIn(), <br>        exit = scaleOut()<br>    ) {<br>        Box(<br>            Modifier<br>                .size(150.dp)<br>                .background(Color.Blue)<br>        )<br>    }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*C7TpyiIzmCZykUckwikfVQ.gif" /><figcaption>This already gives you a clean scale animation when content appears or disappears.</figcaption></figure><p><strong>Other Common “Perfect Pairs”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*1y6CD8xr4BKiWEDa3UwMcA.gif" /><figcaption><em>slideInHorizontally + slideOutHorizontally</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*C7TpyiIzmCZykUckwikfVQ.gif" /><figcaption><em>scaleIn + scaleOut</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*lcRxoElKvWpx6UTIr2S-CQ.gif" /><figcaption><em>fadeIn + fadeOut</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*dCY30NytLU8mO59oOxmxtQ.gif" /><figcaption><em>expandVertically + shrinkVertically</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*bvVTBiYs7Vs5ckXwO8JCuw.gif" /><figcaption><em>expandIn + shrinkOut</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*wZ0xz3nEfwUtA7DWA5rxzw.gif" /><figcaption><em>expandVertically + shrinkVertically</em></figcaption></figure><p><strong>Combining Animations (This Is the Fun Part)</strong></p><p>Animations in Compose are composable — you can combine them easily.</p><p>Using the + operator, you can apply multiple enter and exit animations at the same time.</p><pre>            AnimatedVisibility(<br>                visible = isOpen,<br>                enter = slideInHorizontally() + fadeIn(),<br>                exit = slideOutHorizontally() + fadeOut()<br>            ) {<br>                Box(<br>                    Modifier<br>                        .size(150.dp)<br>                        .background(Color.Blue)<br>                )<br>            }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*6bgANuAs5MeOuO1hbBgUEw.gif" /><figcaption><strong><em>Combine effects with the </em></strong><strong><em>+ operator:</em></strong><em> Layering </em><em>slideInHorizontally and </em><em>fadeIn for a smoother, premium feel.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*QUHL4IO1giPw-ho2poGtxw.gif" /><figcaption><strong>Dynamic Reveal:</strong> Layering scaleIn() and expandHorizontally() to create depth.</figcaption></figure><p>Don’t be afraid to experiment. <strong>Mix and match</strong> these building blocks to create custom transitions that fit your style.</p><p><strong>The possibilities are endless — feel free to mix and match these primitives to craft a unique motion language for your app. Whether it’s a subtle fade or a complex dynamic reveal, Jetpack Compose makes it effortless to bring your UI to life.</strong></p><p>#Android #JetpackCompose #Kotlin #Animation #UIDesign #AndroidDev</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31e1d8248985" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>