Coding Studio

Learn & Grow together.

Browsing:

Tag: #android

Using KMP, a list Screen for both Android & iOS

Overview Below is a basic example using: Step-by-step Kotlin KMP List Example 1. Project Structure MyKMPApp/├── androidApp/ # Android native app├── iosApp/ # iOS native app (Swift)├── shared/ # KMP shared module└── build.gradle.kts # Root Gradle file 2. shared Module Read more…


How MediaQuery & LayoutBuilder used in adoptive design in Flutter application?

When to use MediaQuery or LayoutBuilder MediaQuery.sizeOf(context):Purpose: To get the overall screen size (width and height).When to Use:When you need to know the device’s screen dimensions.When you want to create layouts that are relative to the screen size (e.g., a Read more…


Sample Flutter App to Take Camera Picture

Taking a pic through a mobile camera is a very common phenomenon. In this topic, we would see how to implement a camera app in Flutter. Let’s start on it. pubspec.yaml dependencies version: 1.0.0+1environment: sdk: ^3.6.0# Dependencies specify other packages Read more…


Viper Architecture in Android Application


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


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…


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…


Gemini AI Tool in Android Studio | Fast Coding