top of page

šŸŽÆAndroid Dev Challenge No. 5: DisposableEffect šŸ—‘ļø


ree

This week, we'll continue with Jetpack Compose. I decided to dive a little deeper into more advanced concepts. More specifically - DisposableEffect šŸ—‘ļø.


I tried hard to make this one "challenging" and interesting. But frankly, there's only so much "challenge" you can have with DisposableEffect 🄲


Therefore, I decided to spice šŸŒ¶ļø things up slightly by throwing in a LaunchedEffect and some UI elements.


šŸ† Challenge details:


- Take a look at the image. This code has a bug. Can you identify where it is?


- This code is violating some Jetpack Compose best practices. How would you optimize it?


Give it a good thought 🧠.


šŸ‘‰Ā After that:


- Post your answers in the comments below. šŸ’¬


- Explain your reasoning. šŸ–Šļø


- Feel free to discuss and debate! šŸ‘„


šŸ”Ž An answer with an explanation will be posted in 48 hours.


Unlike other challenges I've posted, this one isn't "black and white". There are multiple ways to organize this code. So, feel free to express yourself.


Looking forward to seeing your solutions and discussions in the comments! šŸ‘‡

Ā 
Ā 
Ā 

Recent Posts

See All

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

©2025 by Mykola Miroshnychenko

bottom of page