
Senior Android Engineer from Bangladesh. Love to contribute in Open-Source. Indie Music Producer.
Search for a command to run...

Senior Android Engineer from Bangladesh. Love to contribute in Open-Source. Indie Music Producer.
No comments yet. Be the first to comment.
In this series, I will write about Android App Development.
If get to know something new by reading my articles, don't forget to endorse me on LinkedIn Yes, we can do that, EASILY! By using: DI (Hilt) | FUN, right? Let's check the snapshot:: First, We have an abstract class "ActivityAdapter" that takes "Con...
A practical guide to choosing the right coroutine primitive for your Android/Kotlin projects

This guide explains what Channels are, when to use them, how to use them correctly, and when NOT to use them β in simple, professional language. 1. What problem do Channels solve? In Kotlin coroutines, you often have multiple coroutines running at t...

Learn how to build preview-safe ViewModels in Jetpack Compose using Hilt.

HandlerInterceptor vs Filter in Spring Boot: A Practical Guide with JNDI Injection Prevention

Simple In-Memory Caching: A Tiny Trick with Massive Impact

If get to know something new by reading my articles, don't forget to endorse me on LinkedIn
You can combine multiple tasks into single one (Zipping) (Synchronous execution). Simply, define list of Tasks and get list of Results (Success or Error)
Practical Scenario:
Suppose, you have a form screen, where user can input multiple information. So, before sending informations to the backend server, you have to validate all those informations, let user know if there is any error. There can be multiple validations for each input from user.
Instead of writing all one by one multiple validations, you can define a list of **Task **which performs validation for every input and execute those to get the results (Either Success or Error). Thus you can combine all operations from validating to sending to server side which performs one by one. It's also easier to test the whole procedure or testing every single execution independently.
