Tagged articles
350 articles
Page 2 of 4
Bilibili Tech
Bilibili Tech
May 17, 2024 · Mobile Development

Cross‑Platform Language Benchmark and Interoperability Analysis

The study benchmarks Kotlin, JavaScript, Dart, C++ and Swift across iOS, Android and HarmonyOS using 237 protobuf files, finding Kotlin’s performance and binary size rival native Swift, JavaScript slower with higher memory, while C++/Rust excel but need more effort, leading to a recommendation of Kotlin Multiplatform with a three‑repo structure for optimal reuse and maintainability.

BenchmarkInteroperabilityKotlin
0 likes · 30 min read
Cross‑Platform Language Benchmark and Interoperability Analysis
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 3, 2024 · Mobile Development

Exploring Dart Features for Kotlin Developers: A Flutter Mobile Development Perspective

This article shares a Kotlin developer’s experience transitioning to Flutter, examining Dart’s syntax and features such as null safety, late initialization, extensions, top‑level and higher‑order functions, and operator overloading, while explaining why Flutter was chosen for a cross‑platform audio player project.

KotlinMobile Developmentcross‑platform
0 likes · 13 min read
Exploring Dart Features for Kotlin Developers: A Flutter Mobile Development Perspective
Sohu Tech Products
Sohu Tech Products
Mar 27, 2024 · Mobile Development

Implementing System-Level and In-App Floating Windows on Android and HarmonyOS

The article compares Android’s fragmented system‑level floating‑window permissions and lack of built‑in in‑app support with HarmonyOS’s simpler Application Sub‑Window approach, detailing how to obtain a WindowStage, create and configure a draggable sub‑window, handle gestures, and forward navigation and back‑press events to the main window.

AndroidFloating WindowHarmonyOS
0 likes · 8 min read
Implementing System-Level and In-App Floating Windows on Android and HarmonyOS
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 26, 2024 · Mobile Development

Building a Customizable Pie Chart Component with Jetpack Compose

This article demonstrates how to build a customizable pie chart component in Jetpack Compose, covering data preparation, drawing solid and ring styles, adding animated transitions, configuring description positions, and supporting multiple dimensions with a grid layout, providing complete Kotlin code examples.

AndroidJetpack ComposeKotlin
0 likes · 9 min read
Building a Customizable Pie Chart Component with Jetpack Compose
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 21, 2024 · Fundamentals

Refactoring Multi‑Board SDK Integration Using Abstract Factory, Adapter, and Facade Patterns

The article analyzes a multi‑board Android SDK integration problem, identifies hard‑coded type checks and inconsistent APIs, and proposes a refactor that employs the Abstract Factory, Adapter, and Facade design patterns with Kotlin examples to achieve loose coupling, extensibility, and clearer business concepts.

Abstract FactoryAdapter PatternDesign Patterns
0 likes · 10 min read
Refactoring Multi‑Board SDK Integration Using Abstract Factory, Adapter, and Facade Patterns
Java Architect Essentials
Java Architect Essentials
Feb 28, 2024 · Backend Development

Design and Implementation of a Business Rate‑Limiting Component Using Redis Lua Scripts and Custom Annotations in Kotlin

This article explains why a custom business risk‑control (rate‑limiting) component is needed for AI‑intensive services, compares open‑source solutions, and provides a complete backend implementation using Redis+Lua scripts, Kotlin code, Spring AOP annotations, and real‑time adjustable rules.

BackendKotlinLua
0 likes · 10 min read
Design and Implementation of a Business Rate‑Limiting Component Using Redis Lua Scripts and Custom Annotations in Kotlin
Sohu Tech Products
Sohu Tech Products
Jan 24, 2024 · Mobile Development

How to Fix FastJson Parsing Errors in Kotlin Android Apps

This article analyzes why FastJson, Gson, and Kotlinx‑serialization encounter crashes or incorrect handling when parsing Kotlin data classes in Android, explains the root causes such as missing no‑arg constructors and null‑safety issues, and provides concrete code fixes, ProGuard rules, and a unified wrapper API for reliable JSON processing.

AndroidGsonKotlin
0 likes · 20 min read
How to Fix FastJson Parsing Errors in Kotlin Android Apps
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 24, 2024 · Mobile Development

Unlock Peak Kotlin Performance with Advanced Refactoring Techniques

This article guides developers through a series of Kotlin refactoring steps—replacing when statements with HashMap, introducing payload mechanisms, infix functions, inline registration, and delegated properties—to dramatically improve event‑handling performance, readability, and maintainability while adhering to the single‑responsibility principle.

HashMapInfix FunctionsKotlin
0 likes · 16 min read
Unlock Peak Kotlin Performance with Advanced Refactoring Techniques
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 9, 2024 · Mobile Development

Understanding Android LayoutInflater: Usage, inflate Methods, Factory and Factory2

This article explains how Android's LayoutInflater converts XML layout files into View objects, demonstrates the various ways to obtain and use a LayoutInflater, details the overloads of the inflate method, and shows how to customize view creation with Factory and Factory2 interfaces, including practical code examples.

AndroidFactory2Java
0 likes · 20 min read
Understanding Android LayoutInflater: Usage, inflate Methods, Factory and Factory2
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 26, 2023 · Mobile Development

EdgeUtils: Android Edge‑to‑Edge UI Utility Library Guide

EdgeUtils is an Android library built on androidx.core that simplifies edge‑to‑edge immersive UI by providing easy‑to‑use APIs, integration steps, code examples, visual‑conflict resolutions, gesture handling, and bug‑fixes for status‑bar, navigation‑bar, and toolbar adaptations.

AndroidEdge-to-EdgeKotlin
0 likes · 11 min read
EdgeUtils: Android Edge‑to‑Edge UI Utility Library Guide
Sohu Tech Products
Sohu Tech Products
Dec 13, 2023 · Mobile Development

Swift–Kotlin Interoperability in Compose for iOS

This article demonstrates how to bridge Swift and Kotlin in a Compose‑Multiplatform iOS app by using Swift view modifiers to detect orientation changes and call Kotlin functions, while exposing Kotlin callbacks that Swift registers to change device orientation, enabling seamless two‑way platform‑specific logic integration.

Compose MultiplatformInteroperabilityKotlin
0 likes · 9 min read
Swift–Kotlin Interoperability in Compose for iOS
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 7, 2023 · Mobile Development

Comprehensive Guide to Building Modern Android Apps in 2023

This article provides a detailed overview of the latest 2023 trends, tools, libraries, architectural patterns, and best practices for developing modern Android applications, covering everything from Kotlin and Jetpack Compose to Clean Architecture, modularization, performance optimization, and Google Play features.

AndroidClean ArchitectureJetpack Compose
0 likes · 16 min read
Comprehensive Guide to Building Modern Android Apps in 2023
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 3, 2023 · Mobile Development

Comprehensive Guide to Using Hilt for Dependency Injection in Android

This article explains the fundamentals of dependency injection, introduces Hilt and its basic setup for Android, demonstrates advanced features such as qualifiers, scopes, assisted injection, custom entry points, and analyzes Hilt's underlying principles, helping developers decide whether to adopt DI frameworks in Android projects.

AndroidAssisted InjectionDI Framework
0 likes · 21 min read
Comprehensive Guide to Using Hilt for Dependency Injection in Android
Sohu Tech Products
Sohu Tech Products
Nov 1, 2023 · Mobile Development

Compose-Multiplatform Cross-Platform Development Guide: From Setup to Rendering Principles

This guide walks developers through setting up Compose‑Multiplatform, implementing a Ktor‑based network layer, designing shared data models, building a LazyColumn UI, and explains Android rendering internals—from LayoutNode creation to Skiko drawing—while comparing the framework to Flutter and highlighting its low learning curve.

AndroidCompose-MultiplatformJetpack Compose
0 likes · 18 min read
Compose-Multiplatform Cross-Platform Development Guide: From Setup to Rendering Principles
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 23, 2023 · Mobile Development

Building a Kotlin Retrofit Network Request Framework for Android with Token Interceptors, File Upload/Download, and ViewModel Integration

This article demonstrates how to create a clean, reusable network request layer for Android using Kotlin, Retrofit, and OkHttp, covering dependency setup, custom token interceptors, Retrofit utility creation, request/result handling with ViewModel extensions, and comprehensive file upload and download implementations.

AndroidKotlinRetrofit
0 likes · 17 min read
Building a Kotlin Retrofit Network Request Framework for Android with Token Interceptors, File Upload/Download, and ViewModel Integration
DeWu Technology
DeWu Technology
Sep 18, 2023 · Mobile Development

Trimming Android XML Binary Resources to Shrink APK Size

This article explains the inner workings of Android's compiled XML format, demonstrates how to parse and manipulate its binary chunks, and presents a step‑by‑step optimization that removes namespaces and attribute names to reduce APK size by up to 28 % while handling compatibility issues.

APK size reductionAndroidKotlin
0 likes · 21 min read
Trimming Android XML Binary Resources to Shrink APK Size
phodal
phodal
Sep 17, 2023 · Artificial Intelligence

How Chocolate Factory’s Codebase AI Assistant Boosts Code Search with RAG

This article explains the design and implementation of the Codebase AI Assistant in the Chocolate Factory framework, covering its problem‑solving DSL, retrieval‑augmented generation pipeline, indexing and querying stages, prompt strategies, and code‑splitting rules that together enable efficient semantic code search.

AI AssistantKotlinRetrieval Augmented Generation
0 likes · 11 min read
How Chocolate Factory’s Codebase AI Assistant Boosts Code Search with RAG
Bilibili Tech
Bilibili Tech
Aug 29, 2023 · Mobile Development

Designing a Multi‑Scope Architecture for Bilibili’s Integrated Playback Page Using Dagger and Kotlin Coroutines

To merge Bilibili’s UGC and OGV playback pages, the team built a multi‑scope architecture that aligns Dagger‑managed dependency‑injection components with Kotlin CoroutineScopes—PageScope, BizScope, and VideoPlayScope—so each business module is instantiated only when needed, automatically disposed with its parent lifecycle, and remains memory‑leak‑free.

AndroidCoroutinesDagger
0 likes · 19 min read
Designing a Multi‑Scope Architecture for Bilibili’s Integrated Playback Page Using Dagger and Kotlin Coroutines
Ximalaya Technology Team
Ximalaya Technology Team
Aug 11, 2023 · Mobile Development

Simplifying Android Network Requests with Kotlin Coroutines

By converting Android network calls from callback‑based listeners to Kotlin coroutines, the code becomes sequential, eliminates duplicated UI‑state checks, centralizes loading handling, supports parallel requests with async/await, and integrates with lifecycleScope for automatic cancellation, greatly improving readability and safety.

AndroidCoroutinesKotlin
0 likes · 15 min read
Simplifying Android Network Requests with Kotlin Coroutines
vivo Internet Technology
vivo Internet Technology
Jul 26, 2023 · Mobile Development

Evolution of Android Architecture Patterns: MVC, MVP, MVVM, MVI and Compose Integration

The article traces Android’s architectural evolution from MVC through MVP and MVVM to MVI, explains each pattern with code examples, shows how MVI’s unidirectional flow combined with Jetpack Compose achieves full UI‑logic‑data decoupling for serial workflows like login‑verify‑thumb‑up, and advises developers to adopt MVI + Compose for new projects.

AndroidComposeDesign Patterns
0 likes · 29 min read
Evolution of Android Architecture Patterns: MVC, MVP, MVVM, MVI and Compose Integration
DeWu Technology
DeWu Technology
Jul 19, 2023 · Mobile Development

Resource Optimization Practices in DeWu App: Plugins, Image Compression, Deduplication, and ARSC Shrinking

DeWu reduces its APK size by removing unused plugin resources, compressing images with WebP, Guetzli, PNGQuant and Gifsicle, deduplicating and obfuscating ARSC entries, applying 7‑zip compression, delivering large assets dynamically, and continuously cleaning unused resources through compile‑time checks and runtime scanning.

APKARSCAndroid
0 likes · 15 min read
Resource Optimization Practices in DeWu App: Plugins, Image Compression, Deduplication, and ARSC Shrinking
Programmer DD
Programmer DD
Jul 13, 2023 · Artificial Intelligence

Unlock Interactive Kotlin Development with the New Kotlin Notebook Plugin

IntelliJ IDEA's Kotlin Notebook plugin brings interactive notebooks to Kotlin, enabling developers to combine code, visualizations, and narrative in a single document, supporting rapid prototyping, data analysis, and AI workflows with seamless library integration and flexible execution controls.

Data ScienceIntelliJ IDEAInteractive Development
0 likes · 4 min read
Unlock Interactive Kotlin Development with the New Kotlin Notebook Plugin
Sohu Tech Products
Sohu Tech Products
Jul 12, 2023 · Mobile Development

Measuring and Locating Android App Jank Using JankStats and Stack‑Dump Techniques

This article explains how to quantify Android UI jank by calculating a jank rate, uses Jetpack's JankStats library to collect frame‑level metrics, and presents two practical methods—stack dumping and bytecode instrumentation—to pinpoint the slow functions causing stutter, complete with Kotlin code examples and performance considerations.

AndroidJankKotlin
0 likes · 12 min read
Measuring and Locating Android App Jank Using JankStats and Stack‑Dump Techniques
DeWu Technology
DeWu Technology
Jun 30, 2023 · Mobile Development

Optimizing Android CPU Frequency, Core Affinity, and Thread Priority

The article explains how to boost Android app performance by programmatically raising CPU frequency using Qualcomm’s BoostFramework, setting thread‑core affinity with native sched_setaffinity calls, and increasing execution priority via Process.setThreadPriority, providing Kotlin and C examples that demonstrate measurable speed gains.

AndroidCPU optimizationKotlin
0 likes · 20 min read
Optimizing Android CPU Frequency, Core Affinity, and Thread Priority
phodal
phodal
Jun 27, 2023 · Artificial Intelligence

Designing an LLM‑Powered Architecture: The ArchGuard Co‑mate Reference Model

This article presents a detailed reference architecture for building LLM‑driven applications, using the ArchGuard Co‑mate project to illustrate layered design, local model integration, DSL‑based orchestration, and streaming LLM interfaces, complete with code examples and practical implementation notes.

AI OpsKotlinLLM
0 likes · 10 min read
Designing an LLM‑Powered Architecture: The ArchGuard Co‑mate Reference Model
phodal
phodal
Jun 11, 2023 · Artificial Intelligence

How ArchGuard 2.0 Uses LLMs to Dynamically Generate Architecture Governance Functions

This article explains how ArchGuard 2.0 leverages large language models to transform tacit architectural knowledge into dynamic, DSL‑based governance functions, detailing the challenges of traditional tools, the design of the Co‑mate system, and the practical implementation using Kotlin REPL.

APIDSLKotlin
0 likes · 8 min read
How ArchGuard 2.0 Uses LLMs to Dynamically Generate Architecture Governance Functions
Top Architect
Top Architect
May 24, 2023 · Backend Development

Implementing Business Rate Limiting with Redis, Lua, and Kotlin Annotations

This article explains why a custom business rate‑limiting component is needed, outlines the required rules, chooses Redis + Lua for counting, and provides complete Kotlin/Spring code—including a Detect annotation, Lua scripts, and usage examples—to enforce daily, hourly, and combined limits with real‑time adjustments.

KotlinLuaannotations
0 likes · 10 min read
Implementing Business Rate Limiting with Redis, Lua, and Kotlin Annotations
37 Interactive Technology Team
37 Interactive Technology Team
May 22, 2023 · Mobile Development

Gradle Build Optimization for Android Projects: Analysis, Debugging, and Configuration

The article demonstrates a systematic approach to speeding up large Android Gradle builds by inspecting logs, stack traces, debugging plugins, profiling task execution with a custom plugin, and applying on‑demand configuration, caching, incremental and parallel compilation settings, which together cut build time by roughly 40 %.

AndroidBuild OptimizationGradle
0 likes · 12 min read
Gradle Build Optimization for Android Projects: Analysis, Debugging, and Configuration
Sohu Tech Products
Sohu Tech Products
May 4, 2023 · Mobile Development

Understanding Kotlin Lazy Initialization: Usage, Source Code Analysis, and Best Practices

This article explains Kotlin's lazy initialization feature, describes its common usage patterns, dives into the internal source‑code implementations (Synchronized, Publication, and None), discusses thread‑safety concepts such as volatile and CAS, and provides practical recommendations for Android developers.

AndroidKotlinMobile Development
0 likes · 11 min read
Understanding Kotlin Lazy Initialization: Usage, Source Code Analysis, and Best Practices
Sohu Tech Products
Sohu Tech Products
Apr 19, 2023 · Mobile Development

Kotlin Multiplatform Mobile (KMM): Overview, Setup, Architecture, and Build Process

This article provides a comprehensive guide to Kotlin Multiplatform Mobile (KMM), covering its concepts, advantages over other cross‑platform frameworks, detailed setup steps, project structure, Gradle configuration, code examples for shared and platform‑specific modules, and an in‑depth explanation of the Android and iOS compilation pipelines.

AndroidGradleKMM
0 likes · 21 min read
Kotlin Multiplatform Mobile (KMM): Overview, Setup, Architecture, and Build Process
Sohu Tech Products
Sohu Tech Products
Dec 21, 2022 · Mobile Development

Implementing a Custom Layout in Jetpack Compose for Dynamic Room Display

This article explains how to create a custom layout in Jetpack Compose that dynamically arranges a grid of fixed‑size room items, centers the content horizontally and vertically when needed, and adds vertical scrolling for overflow, while detailing the measurement and placement logic with full Kotlin code examples.

AndroidComposeCustom Layout
0 likes · 17 min read
Implementing a Custom Layout in Jetpack Compose for Dynamic Room Display
Liulishuo Tech Team
Liulishuo Tech Team
Dec 15, 2022 · Mobile Development

Migrating Fluently Speaking Apps to Android 12: Background, Technical Solutions, and Practical Implementation

This article outlines the background, technical analysis, and step‑by‑step practical migration of multiple Fluently Speaking Android applications to Android 12, covering environment upgrades, Gradle and JDK changes, CI/CD runner configuration, API adjustments, UI updates, and future outlook.

Android12GradleKotlin
0 likes · 10 min read
Migrating Fluently Speaking Apps to Android 12: Background, Technical Solutions, and Practical Implementation
Sohu Tech Products
Sohu Tech Products
Dec 14, 2022 · Mobile Development

Implementing a Drag‑and‑Bounce Custom View with Explosion Effect in Android (Kotlin)

This tutorial explains how to build an Android custom view that lets a large circle be dragged, scales a smaller circle based on distance, snaps back with a bounce animation when released inside a boundary, or plays an explosion sequence when released outside, using Kotlin, Bézier curves, and WindowManager integration.

AndroidCustom ViewDrag-and-Drop
0 likes · 19 min read
Implementing a Drag‑and‑Bounce Custom View with Explosion Effect in Android (Kotlin)
Sohu Tech Products
Sohu Tech Products
Dec 7, 2022 · Mobile Development

Type‑agnostic RecyclerView Item Visibility Detection for Android

The article explains why reporting item exposure in onBindViewHolder is inaccurate, reviews existing scroll‑listener based solutions and their limitations, and then presents a layout‑manager‑independent Kotlin extension that reliably detects RecyclerView item visibility based on visible area percentage, also covering ViewPager2 page visibility handling.

AndroidExtensionFunctionsKotlin
0 likes · 10 min read
Type‑agnostic RecyclerView Item Visibility Detection for Android
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 28, 2022 · Mobile Development

Implementing a WeChat Zombie‑Friend Detection Tool Using Android AccessibilityService

This article walks through building an Android AccessibilityService‑based tool that automatically detects WeChat contacts who have deleted or blocked you by using a fake‑transfer method, handling UI events, launching WeChat, and employing Kotlin code snippets for node navigation and gesture simulation.

AccessibilityServiceAndroidAutomation
0 likes · 16 min read
Implementing a WeChat Zombie‑Friend Detection Tool Using Android AccessibilityService
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 28, 2022 · Mobile Development

Deep Dive into Compose Animatable API: Creation, animateTo, snapTo, and a Practical Upload Button Example

This article explains the low‑level Android Jetpack Compose Animatable API, its constructor parameters, how to create and configure Animatable instances for various value types, and demonstrates using animateTo and snapTo within coroutines, including listeners and a complete upload‑button use case.

AndroidAnimatableCompose
0 likes · 15 min read
Deep Dive into Compose Animatable API: Creation, animateTo, snapTo, and a Practical Upload Button Example
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 22, 2022 · Mobile Development

Understanding apt, kapt, and ksp: Annotation Processing and Kotlin Symbol Processing for Code Generation

This article explains the differences between Java's Annotation Processing Tool (apt), Kotlin's annotation processor (kapt), and the newer Kotlin Symbol Processing (ksp) framework, illustrating their architectures, usage patterns, and code‑generation capabilities with practical examples for Android development.

AndroidAnnotation ProcessingCode Generation
0 likes · 10 min read
Understanding apt, kapt, and ksp: Annotation Processing and Kotlin Symbol Processing for Code Generation
Yuanfudao Tech
Yuanfudao Tech
Nov 18, 2022 · Mobile Development

Migrating from Kotlin Android Extensions to Kace: A Seamless Migration Guide

This article explains why the Kotlin Android Extensions plugin is deprecated, outlines migration strategies for legacy code, introduces the open‑source Kace framework as a seamless replacement, and provides detailed setup, code generation, performance optimizations, and incremental compilation techniques for Android projects.

AndroidCompiler PluginGradle
0 likes · 15 min read
Migrating from Kotlin Android Extensions to Kace: A Seamless Migration Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 16, 2022 · Mobile Development

Understanding RepeatableSpec and InfiniteRepeatableSpec in Jetpack Compose Animations

This article explains the RepeatableSpec and InfiniteRepeatableSpec animation specifications in Jetpack Compose, detailing their constructors, parameters such as iterations, repeatMode, and initialStartOffset, and demonstrates practical Kotlin code examples for creating repeatable and endless animations.

InfiniteRepeatableSpecJetpack ComposeKotlin
0 likes · 11 min read
Understanding RepeatableSpec and InfiniteRepeatableSpec in Jetpack Compose Animations
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 15, 2022 · Mobile Development

Analyzing and Optimizing Retrofit Performance in Android Applications

The article uncovers a lock‑induced latency in Retrofit’s service‑method cache during cold‑start, demonstrates how moving the synchronization to a class‑level lock and customizing Retrofit.create eliminates the bottleneck, and then shows how dynamic‑proxy hooks combined with Kotlin coroutines can add transparent caching and low‑intrusion BFF aggregation without altering the library.

AndroidBFFCoroutines
0 likes · 21 min read
Analyzing and Optimizing Retrofit Performance in Android Applications
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 11, 2022 · Mobile Development

Advanced Android Componentization: Component Splitting, Multi‑UI Strategies, KV Storage, and Routing Best Practices

This article explains how to split Android components based on business functionality, handle strong and weak component dependencies, configure multiple UI themes, manage key‑value storage safely with MMKV‑KTX, and use routing frameworks judiciously to keep modular apps maintainable and scalable.

AndroidComponentizationKV storage
0 likes · 22 min read
Advanced Android Componentization: Component Splitting, Multi‑UI Strategies, KV Storage, and Routing Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 11, 2022 · Mobile Development

Practical Guide to Android Componentization and Modular Development

This article explains why monolithic Android projects suffer from long compile times, high coupling, and merge conflicts, and demonstrates how componentization—using a four‑layer architecture, unified Gradle dependencies, plugin switching, code isolation, ARouter routing, decentralized APIs, and AndroidX App Startup initialization—can solve these problems with concrete Kotlin and XML examples.

ARouterAndroidComponentization
0 likes · 21 min read
Practical Guide to Android Componentization and Modular Development
Sohu Tech Products
Sohu Tech Products
Nov 9, 2022 · Mobile Development

Integrating AndroidMonitor for In‑App Network Packet Capture on Android

This article introduces AndroidMonitor, a lightweight Android packet‑capture library, explains how to add its monitor and monitor‑plugin dependencies, configure ProGuard, customize entry names, ports and logos, and optionally use AndroidLocalService to expose captured data via a local socket for both mobile and PC UI visualization.

AndroidKotlinLocal Service
0 likes · 9 min read
Integrating AndroidMonitor for In‑App Network Packet Capture on Android
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 9, 2022 · Fundamentals

Understanding Kotlin IR and Compose Compiler Code Generation

This article explains how the Kotlin Compose Compiler uses the intermediate representation (IR) to generate code, covering IR tree structure, traversal with visitors and transformers, and the process of adding composer parameters and restart groups via custom IrGenerationExtension plugins.

AndroidCode GenerationCompiler Plugins
0 likes · 10 min read
Understanding Kotlin IR and Compose Compiler Code Generation
Sohu Tech Products
Sohu Tech Products
Nov 2, 2022 · Mobile Development

Android Soft Keyboard Height Detection and Layout Attachment Techniques

This article reviews three approaches to obtain the Android soft‑keyboard height—using ViewTreeObserver, a hidden PopupWindow, and WindowInsets—compares their pros and cons, shows complete Kotlin/Java implementations, and demonstrates how to attach UI elements to the keyboard for a smoother user experience.

AndroidKeyboard HeightKotlin
0 likes · 14 min read
Android Soft Keyboard Height Detection and Layout Attachment Techniques
Programmer DD
Programmer DD
Oct 31, 2022 · Mobile Development

Why Meta Swapped Java for Kotlin: Insights from a Massive Android Migration

Meta’s recent shift of its Android apps from Java to Kotlin reveals both the compelling benefits—such as null‑safety, concise code, and functional features—and the practical challenges like mixed codebases, tooling gaps, and longer build times, offering a detailed roadmap for large‑scale mobile language migration.

AndroidJavaKotlin
0 likes · 8 min read
Why Meta Swapped Java for Kotlin: Insights from a Massive Android Migration
21CTO
21CTO
Oct 26, 2022 · Mobile Development

Why Meta Is Rewriting Its Android Apps in Kotlin – Insights for Developers

Meta is converting its flagship Android apps from Java to Kotlin, citing benefits like reduced code size, safety, and better concurrency support, while navigating tooling challenges and showing a broader industry shift toward Kotlin for mobile development.

AndroidJava migrationKotlin
0 likes · 6 min read
Why Meta Is Rewriting Its Android Apps in Kotlin – Insights for Developers
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 24, 2022 · Mobile Development

Understanding Compose Compiler Checkers: ComposableCallChecker, ComposableDeclarationChecker, and ComposeDiagnosticSuppressor

This article explains how the Compose compiler’s front‑end checkers—ComposableCallChecker, ComposableDeclarationChecker, and ComposeDiagnosticSuppressor—validate @Composable usage, handle inline lambdas, annotation retention, and named‑argument restrictions, providing code examples and visual diagrams to illustrate each rule.

AndroidCheckerComposable
0 likes · 13 min read
Understanding Compose Compiler Checkers: ComposableCallChecker, ComposableDeclarationChecker, and ComposeDiagnosticSuppressor
Sohu Tech Products
Sohu Tech Products
Oct 19, 2022 · Mobile Development

Managing Complexity in Android Search UI: From MVC to MVI and Kotlin DSL Implementation

This article explains how to reduce UI complexity in Android by layering architecture, tracing the evolution from MVC through MVP and MVVM to MVI, and demonstrates a searchable interface built with Jetpack Navigation and Kotlin DSL, highlighting pitfalls of monolithic initView methods and proposing more reusable abstractions.

AndroidKotlinMVI
0 likes · 16 min read
Managing Complexity in Android Search UI: From MVC to MVI and Kotlin DSL Implementation
Java Architect Essentials
Java Architect Essentials
Oct 13, 2022 · Backend Development

Five Java/Kotlin Microservice Frameworks Compared: Helidon, Ktor, Micronaut, Quarkus & Spring Boot

The article builds five microservices with Helidon SE, Ktor, Micronaut, Quarkus and Spring Boot, integrates Consul for service discovery, provides full source code and configuration, shows how to start each service, benchmarks size, startup time and memory usage, and finally lists the pros and cons of each framework.

BackendConsulJava
0 likes · 22 min read
Five Java/Kotlin Microservice Frameworks Compared: Helidon, Ktor, Micronaut, Quarkus & Spring Boot
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 13, 2022 · Mobile Development

Exploring Jetpack Compose Animation Specs: Spring, Tween, Snap, Keyframes, Repeatable and Infinite Repeatable

This article provides a comprehensive tutorial on Jetpack Compose animation specifications, covering Spring, Tween, Snap, Keyframes, repeatable and infinite repeatable specs, explaining their parameters, default values, and demonstrating practical Kotlin code examples with visual GIFs to illustrate each effect.

Jetpack ComposeKotlinTween
0 likes · 15 min read
Exploring Jetpack Compose Animation Specs: Spring, Tween, Snap, Keyframes, Repeatable and Infinite Repeatable
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 13, 2022 · Mobile Development

Deep Dive into animateValueAsState and Custom animateXxxAsState APIs in Jetpack Compose

This article explains how Jetpack Compose’s animateValueAsState underpins the animateXxxAsState family, explores its source code, demonstrates how to create custom animation APIs such as animateDpSizeAsState and animateUploadAsState, and provides practical Kotlin examples for building reusable UI animations on Android.

Jetpack ComposeKotlinanimateValueAsState
0 likes · 12 min read
Deep Dive into animateValueAsState and Custom animateXxxAsState APIs in Jetpack Compose
DaTaobao Tech
DaTaobao Tech
Oct 13, 2022 · Mobile Development

Getting Started with Jetpack Compose: Building a Simple Page

This tutorial walks through building a simple Jetpack Compose page, showing how to define composable functions, manage reactive state, preview UI, add animations, and adapt layouts for portrait and landscape, providing a concise foundation for modern Android UI development.

Android UIDeclarative UIJetpack Compose
0 likes · 11 min read
Getting Started with Jetpack Compose: Building a Simple Page
Sohu Tech Products
Sohu Tech Products
Oct 7, 2022 · Mobile Development

Lifecycle‑Aware Data Flow Collection in Android with collectAsStateWithLifecycle

The article explains how to use the collectAsStateWithLifecycle composable function in Jetpack Compose to collect Kotlin Flow data streams in a lifecycle‑aware manner, freeing resources when the app is backgrounded, and compares it with the traditional collectAsState API while providing code examples and migration guidance.

AndroidJetpack ComposeKotlin
0 likes · 9 min read
Lifecycle‑Aware Data Flow Collection in Android with collectAsStateWithLifecycle
Java High-Performance Architecture
Java High-Performance Architecture
Oct 2, 2022 · Backend Development

Comparing Top Java/Kotlin Microservice Frameworks: Helidon, Ktor, Micronaut, Quarkus & Spring Boot

This article reviews five Java/Kotlin microservice frameworks—Helidon, Ktor, Micronaut, Quarkus, and Spring Boot—showing how to build heterogeneous services with Consul service discovery, detailing prerequisites, code examples, launch commands, API testing, and a side‑by‑side comparison of their strengths and weaknesses.

JavaKotlinMicroservices
0 likes · 22 min read
Comparing Top Java/Kotlin Microservice Frameworks: Helidon, Ktor, Micronaut, Quarkus & Spring Boot
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 30, 2022 · Mobile Development

Understanding Property Animations in Jetpack Compose: animateColorAsState and Related APIs

This article explains how Jetpack Compose implements property animations by detailing the animateColorAsState function, its parameters, related animation helpers such as animateDpAsState and animateValueAsState, and the underlying Animatable, TargetBasedAnimation, and runAnimation mechanisms, complete with Kotlin code examples.

AndroidAnimation APIJetpack Compose
0 likes · 10 min read
Understanding Property Animations in Jetpack Compose: animateColorAsState and Related APIs
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 29, 2022 · Mobile Development

Understanding Visibility Animations in Jetpack Compose: A Source‑Code Walkthrough

This article explores Jetpack Compose's visibility animation APIs by dissecting the AnimatedVisibility composable, its EnterTransition and ExitTransition parameters, the underlying Transition system, and related helper functions, while providing concrete Kotlin code examples and explanations of how each component works together to produce smooth UI effects.

AndroidCompose UIJetpack Compose
0 likes · 17 min read
Understanding Visibility Animations in Jetpack Compose: A Source‑Code Walkthrough
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 8, 2022 · Mobile Development

RTC Framework Design for Cloud Music Apps: A Unified Real-Time Communication Architecture

The article describes NetEase Cloud Music’s unified real‑time communication framework, which consolidates disparate audio/video features into a single, container‑based architecture using a common IPlayer interface, dynamic method generation, switchable players, and state‑machine management to streamline development, ensure business isolation, and provide seamless, controllable RTC services across all apps.

Architecture PatternDecorator PatternKotlin
0 likes · 11 min read
RTC Framework Design for Cloud Music Apps: A Unified Real-Time Communication Architecture
Huolala Tech
Huolala Tech
Sep 6, 2022 · Mobile Development

Master Android Modular Routing with TheRouter: Features, Usage, and Migration

TheRouter is a Kotlin‑based, full‑stack solution for Android modular development that provides page navigation, cross‑module dependency injection, automatic initialization, dynamic actions, and remote route table updates, offering extensive configuration, code‑free reflection, and tools for migration, debugging, and performance optimization.

AndroidDependencyInjectionDynamicRouting
0 likes · 20 min read
Master Android Modular Routing with TheRouter: Features, Usage, and Migration
Top Architect
Top Architect
Aug 29, 2022 · Mobile Development

Understanding OkHttp: Request Flow, Dispatcher, Interceptors, Connection Reuse, and Design Patterns

This article provides a comprehensive overview of OkHttp, covering its overall request process, the role of the dispatcher, how application and network interceptors work, TCP connection reuse via the connection pool, idle‑connection cleanup, key advantages, and the design patterns employed in the framework.

AndroidConnection PoolDesign Patterns
0 likes · 15 min read
Understanding OkHttp: Request Flow, Dispatcher, Interceptors, Connection Reuse, and Design Patterns
DaTaobao Tech
DaTaobao Tech
Aug 22, 2022 · Mobile Development

Improving Image Cropping Interaction on the Result Page

The article details how the “Paizhi Tao” result page’s cropping feature was plagued by hidden frames and poor small‑object handling, and explains a redesign that adds a full‑size preview, touch‑separated logic, proportional scaling, move and zoom, resulting in more accurate searches and verified performance gains in version 10.15.0.

Image CroppingKotlinMobile UI
0 likes · 7 min read
Improving Image Cropping Interaction on the Result Page
Programmer DD
Programmer DD
Jul 30, 2022 · Fundamentals

What’s New in IntelliJ IDEA 2022.2? Top Features and Performance Boosts

IntelliJ IDEA 2022.2 introduces extensive remote development upgrades, JetBrains Runtime 17, full Spring 6/Boot 3 support, numerous UI enhancements, language‑specific inspections for Java, Kotlin, Scala, Docker integration improvements, and security features, delivering a faster, more stable development experience.

DockerIDE FeaturesIntelliJ IDEA
0 likes · 13 min read
What’s New in IntelliJ IDEA 2022.2? Top Features and Performance Boosts
Sohu Tech Products
Sohu Tech Products
Jul 13, 2022 · Mobile Development

Understanding Window, Insets, and WindowInsets in Android: Concepts, APIs, and Practical Usage

This article explains the fundamental concepts of Window, Insets, and WindowInsets in Android, describes the different inset types, demonstrates how to retrieve and apply them with modern AndroidX APIs, and provides practical Kotlin code examples for handling system UI elements such as status bars, navigation bars, and the soft keyboard.

AndroidAndroidXKotlin
0 likes · 10 min read
Understanding Window, Insets, and WindowInsets in Android: Concepts, APIs, and Practical Usage
Programmer DD
Programmer DD
Jun 22, 2022 · Fundamentals

Why Java Falls Short: 4 Kotlin Features Every Developer Misses

The article compares Java and Kotlin, highlighting four Kotlin features—immutable references, null safety, extension functions, and reified generics—that improve code readability, expressiveness, and maintainability, and shows how Kotlin’s syntax and type system address Java’s shortcomings with practical code examples.

Extension FunctionsImmutable ReferencesJava
0 likes · 6 min read
Why Java Falls Short: 4 Kotlin Features Every Developer Misses
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Jun 21, 2022 · Mobile Development

Understanding Kotlin Coroutines: Continuations, Suspend Functions, and Practical Applications

This article explains how Kotlin coroutines work under the hood by turning callback‑based code into state‑machine continuations, demonstrates the role of the Continuation interface and suspend functions, and shows practical patterns such as suspendCoroutine, custom DSLs, and a PendingData utility for managing asynchronous UI flows like home‑page pop‑ups in Android.

AndroidAsyncContinuation
0 likes · 29 min read
Understanding Kotlin Coroutines: Continuations, Suspend Functions, and Practical Applications
Baidu Geek Talk
Baidu Geek Talk
May 12, 2022 · Mobile Development

Android Guide Management, One‑Line Pressed State, and Expanding Click Area Techniques

The article introduces three practical Android techniques—a singleton‑based ordered guide manager to avoid conflicting tutorials, a one‑line Kotlin extension that adds a pressed‑state alpha effect to any view, and a concise TouchDelegate utility that expands a view’s clickable area without layout changes.

AndroidClickAreaGuideManager
0 likes · 12 min read
Android Guide Management, One‑Line Pressed State, and Expanding Click Area Techniques
Snowball Engineer Team
Snowball Engineer Team
May 6, 2022 · Mobile Development

Dynamic Card Injection Framework Using Annotation Processing in Android

This article describes how a mobile development team refactored a card‑creation feature by applying the Open/Closed and Single‑Responsibility principles, introduced a factory pattern with reflection, and ultimately built a fully automated dynamic injection framework using Java Annotation Processing (APT) to eliminate manual code updates.

AndroidAnnotation ProcessingDynamic Injection
0 likes · 13 min read
Dynamic Card Injection Framework Using Annotation Processing in Android
Java Captain
Java Captain
Apr 22, 2022 · Backend Development

IntelliJ IDEA 2022.1 Release Highlights: Dependency Analyzer, New Project Wizard, Notifications, Kotlin and Java Support, Kubernetes Integration, and More

IntelliJ IDEA 2022.1 introduces a Dependency Analyzer for managing conflicts, an enhanced New Project wizard, a new Notifications tool window, expanded Java 18 and Kotlin 1.6.20 support, Kubernetes editing capabilities, improved Gradle progress, and numerous UI and language feature upgrades across Java, Kotlin, Go, and other technologies.

Dependency AnalyzerIDEIntelliJ
0 likes · 7 min read
IntelliJ IDEA 2022.1 Release Highlights: Dependency Analyzer, New Project Wizard, Notifications, Kotlin and Java Support, Kubernetes Integration, and More
Java High-Performance Architecture
Java High-Performance Architecture
Apr 19, 2022 · Fundamentals

What’s New in IntelliJ IDEA 2022.1? Explore the Latest IDE Features

IntelliJ IDEA 2022.1 introduces a Dependency Analyzer for conflict resolution, an enhanced New Project wizard, a dedicated Notifications tool window, extensive language and framework support—including Java 18, Kotlin 1.6.20, Go microservices, Kubernetes, and improved security scanning—plus numerous usability upgrades such as uniform tab splitting, UML export formats, and a Gradle progress bar.

Dependency AnalyzerIDE FeaturesIntelliJ IDEA
0 likes · 9 min read
What’s New in IntelliJ IDEA 2022.1? Explore the Latest IDE Features
Programmer DD
Programmer DD
Apr 15, 2022 · Backend Development

What’s New in IntelliJ IDEA 2022.1? A Deep Dive into Key Features

IntelliJ IDEA 2022.1 introduces a Dependency Analyzer for conflict resolution, an enhanced New Project wizard, a revamped Notifications tool window, Java 18 and Kotlin 1.6.20 support, Go microservice tooling, Spring Data Mongo improvements, .proto and gRPC enhancements, Kubernetes integration, and a Gradle progress bar, offering developers a richer, more efficient coding experience.

Dependency AnalyzerGo microservicesIDE Features
0 likes · 12 min read
What’s New in IntelliJ IDEA 2022.1? A Deep Dive into Key Features
Sohu Tech Products
Sohu Tech Products
Mar 23, 2022 · Mobile Development

A Comprehensive Guide to Android Jetpack and ViewBinding: Architecture, Components, and Practical Implementation

This article introduces Android Jetpack, explains its component categories, demonstrates the migration from findViewById to ViewBinding with step‑by‑step code examples for activities, fragments, dialogs, RecyclerView adapters, custom ViewGroups, and includes optimization patterns using generics and Kotlin delegates, while also revealing the underlying code‑generation process.

AndroidArchitecture ComponentsJetpack
0 likes · 14 min read
A Comprehensive Guide to Android Jetpack and ViewBinding: Architecture, Components, and Practical Implementation
Airbnb Technology Team
Airbnb Technology Team
Mar 17, 2022 · Mobile Development

Automated Test Generation and CI Configuration for Airbnb Android

The final Airbnb Android testing article explains how a Kotlin script automatically generates JUnit tests for every MvRx Fragment, integrates them into a Buildkite CI pipeline that runs only changed fragment tests, shards execution with Flank, reports visual regressions via Happo, aggregates JaCoCo coverage, and posts detailed PR comments, while outlining future enhancements such as deep‑link, end‑to‑end, performance, and R8 testing.

AndroidAutomated TestingCI
0 likes · 16 min read
Automated Test Generation and CI Configuration for Airbnb Android