Tag: Reusable

Building Reusable Components with Jetpack Compose: A Guide to Modularity

Jetpack Compose is a modern UI toolkit for Android that simplifies the process of creating reusable components. By mastering reusable components, you can create more modular, maintainable, and scalable apps. In this blog post, we’ll explore how to build reusable components with Jetpack Compose...

Exploring Kotlin Generics: Writing Flexible and Reusable Code

Generics is a powerful feature in programming languages that allows you to write flexible and reusable code by introducing type parameters. Kotlin, being a statically typed language, provides robust support for generics, enabling you to create generic classes, functions, and interfaces. By leveragin...

Composable Services

Composable services refer to a software architectural pattern that emphasizes the construction and integration of modular, independent services to build complex applications or systems. With this approach, services are designed to be self-contained, loosely coupled, and independently deployable comp...

Creating Reusable Dialog In MVVM | Part 2 -Sending Event| Android

This is the second part of the series of creating reusable dialog. In the previous article, we learned, how to share data between parent (activity or fragment) and dialog in MVVM. In this article, we will send events (item selection in the list) from dialog to the parent and handle it as well. ...

Reusable Cup Option at Starbucks: A Sustainable Step

Starbucks is introducing a new initiative to promote sustainability by allowing drive-thru customers and app users to bring their own cups. Starting this week, customers can use their own cups in an effort to reduce waste. The cups must be clean but can be any type, not necessarily the classic green...