Unpacking Jetpack Compose
My journey into Declarative UI

Search for a command to run...

Series
My journey into Declarative UI

Introduction A flow is a stream of data that can be computed asynchronously. It’s useful when we need to emit multiple values sequentially. For example, when fetching data from the server, we can emit different results (Loading, Success, Error…) depe...

Loading bitmaps in an Android app is a tricky task. Bitmap takes an enormous amount of memory. For example, a photo taken on Pixel 6 Pro has about 12.5 megapixels (4080 x 3072). With the bitmap configuration of ARGB_8888 (4 bytes per pixel), loading ...

The ART virtual machine in Android is a managed memory environment. The garbage collector takes care of memory allocation and frees it back to the heap when that piece of memory is no longer being used. Memory leaks occur when objects are no longer b...

When an application starts, the Android system starts a new process for that application with a single thread of execution (the main thread). In Android, the application itself does not directly control its process lifetime. Instead, the system deter...

Overview Memory is a valuable resource in software development, especially within the Android ecosystem, where physical memory is often constrained. With the growth of the mobile markets, there are a variety of devices from low-end to high-end. We ne...
