Coding Studio

Learn & Grow together.

What are Kotlin Scope Functions? How to use them?


What are scope functions in Kotlin? How to use them!!

Kotlin scope function ( let, run, with, apply, also ) Basically, these functions all perform the same action: execute a block of code on an objectWhen you call such a function on an object with a lambda expression provided, it Read more…


UI State Handling in Android Jetpack Compose


Difference between Flutter & React Native?

Flutter and React Native are two popular frameworks for developing cross-platform mobile applications. Here’s a comparison of both, along with their future scopes. 1. Technology Overview 2. Advantages Feature Flutter React Native UI/UX Consistency Consistent across platforms (pixel-perfect) UI adapts Read more…


SOLID Principles – Do you understand them?

The SOLID principles help in writing clean, scalable, and maintainable code, and they are highly applicable in Java as well. Let’s go through each principle with examples in Java. 1. Single Responsibility Principle (SRP) A class should have only one Read more…


How Kotlin Coroutine Exception Handling Works?

Exceptions are common while we are coding. So in Kotlin Coroutines as well. However, Exceptions in Coroutines works in some specific ways. Let’s discuss how it works. In case you have doubts in understanding. Please put your comments in the Read more…


What is Kotlin Coroutine & its Basics

Kotlin coroutine is an instance of suspendable computation. It is similar to Thread. But it’s not the same. It is lighter weight than Thread, as it consumes less memory. It is useful to execute CPU-intensive tasks in Android applications. Here Read more…


Capture Images & Video in the Flutter App

Add Dependencies First, add the image_picker package to your pubspec.yaml file: dependencies:flutter:sdk: flutterimage_picker: ^0.8.7+4 Then, run flutter pub get to install the package. Update Android and iOS Configuration Android In your android/app/src/main/AndroidManifest.xml, add the following permissions: <uses-permission android:name=”android.permission.CAMERA”/> <uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE”/> Read more…


A well-architected Android project structure with explanations.

Objective To describe the Android project structure which focuses on separation of concern, modularization, scalability & Testability. Kindly Note: This is only a structural explanation. Here, it doesn’t cover detailed classes. Project Structure (Modularization): App Module: This is your main Read more…


Understanding Storage Types in Android: A Comprehensive Guide

Android provides multiple storage options to manage data efficiently based on different use cases. Understanding these storage types is crucial for building apps that handle data securely and efficiently. This guide will explore the various storage types in Android, along Read more…