Android Kaki

Build beautiful, usable products using required Components for Android.

Category: Android Development

Exposing WhatsApp’s circle with Jetpack Compose

On this article, I’ll present you the way to create a round reveal animation that WhatsApp makes use of with Jetpack Compose. My first try was to make use of AnimatedVisibility to attain one thing related. AnimatedVisibility(seen = seen,) {BottomSheet()} This code is equal to: AnimatedVisibility(seen = seen,enter = expandVertically(),exit = shrinkVertically()) {BottomSheet()} Nevertheless, I’m […]

Study useful resource choice in AndroidApps with a number of modules | by Sourabh kaushik📱💻: Android/POS Developer | Might 2023

Introduce: In Android utility growth, creating an intuitive and enticing consumer interface is essential. Actions, which characterize particular person screens, depend on XML format recordsdata to outline their UI construction. Nevertheless, when an utility makes use of a number of modules, lots of which can have layouts with the identical identify, it’s important to know […]

Dive into the derivationStateOf and evaluate with reminiscence(key) | by Saqib | Could 2023

derivedStateOf helps keep away from pointless refactorings for higher efficiency. Within the story we’ll dive into derivedStateOf API and can discover it totally different from keep in mind(key) . We’ll see When/How we should always use derivedStateOf . We’ll see extra comparisons between keep in mind(key) And derivedStateOf and eventually we’ll have a look at […]

Gradle Kotlin Conference Plugins for Modular Constructions — Shared Construct Logic | by Umut TEKE | Might 2023

Footage from Jetbrains weblog put up Many people have struggled with Groovy and used emigrate it to Kotlin DSL. Then, as an Android engineer, engaged on a challenge solely written in Kotlin was pure pleasure. We’re assuming we’re utilizing a modularized utility construction primarily based on the appliance of the occasion catalog function. We’ll absolutely […]

Obtain platform-specific implementations with Koin in KMM | by Mirzamehdi Karimov | Might 2023

Throughout the migration of Quotes challenge to KMM (Kotlin Cellular Multiplatform) I’ve to implement totally different courses for every platform and I’m utilizing Koin for dependency injection. Certainly one of such courses is Community handlerwhich has a single technique known as hasNetworkConnection() is testing community connectivity and I must implement this class on each Android […]

Android 14 — What’s New? | Half 2 | by Kartik Arora | Could 2023

When addressing customers, utilizing the improper gender — for instance, referring to ladies in masculine language — can negatively influence their efficiency and attitudes. Nevertheless, if the person interface language precisely displays the grammatical gender of the person, it may possibly improve person engagement and create a extra genuine and customised person expertise. With Android […]

DisposableEffect: Jetpack Compose Facet Results API | by Saqib | Might 2023

Go deep into DisposableEffect Unwanted effects API and its similarities/variations with LaunchedEffect And keep in mind(key){} APIs. The story will discover the uncomfortable side effects API intimately DisposableEffect and there will probably be a use case for displaying the applying of DisposableEffect, the place we’ll see the way to log analytics occasions whereas observing lifecycle […]

Networking service utilizing callbackFlow and Jetpack Compose. | by Saqib | Could 2023

The way to view Community connection standing utilizing Kotlin Flows and present it inside Compose UI? Community connection standing monitoring is a quite common use case, we need to present present community standing on person interface or to indicate retry mechanism if gadget is offline. This story will present code examples of find out how […]

Use PreviewParameters and supply Composables to Jetpack Compose Previews | by Katie Barnett

create Jetpack Compose Preview from @Composable . annotation knowledge When you’ve got been utilizing Jetpack Compose for some time, you’ll absolutely get bored with writing previews for each single configuration of your compilations and get misplaced in massive information stuffed with code nearly however not fairly the identical as producing all of those previews . […]

Keep away from making use of modifier to supplied modifier | by Mahmoud Afarideh

Matryoshka doll In Jetpack Compose, composable capabilities are the constructing blocks of consumer interface elements. Combinable capabilities take a set of enter parameters, resembling information and structure info, and create a consumer interface factor that may be displayed on the display screen. An vital design precept for creating composable capabilities is to keep away from […] © 2023 Android kaki