Tagged articles
350 articles
Page 1 of 4
Sohu Tech Products
Sohu Tech Products
Apr 22, 2026 · Fundamentals

Why WasmGC Is a Game‑Changer for Flutter and Kotlin Multiplatform on the Web

WasmGC introduces native garbage‑collection support to WebAssembly, enabling Kotlin and Dart to run as true native languages on the web, dramatically shrinking bundle sizes, speeding startup, eliminating memory‑leak cycles, and improving interop, with full browser support now standard across Chrome, Firefox, and Safari.

BrowserFlutterGarbage Collection
0 likes · 8 min read
Why WasmGC Is a Game‑Changer for Flutter and Kotlin Multiplatform on the Web
AI Explorer
AI Explorer
Apr 10, 2026 · Artificial Intelligence

Google AI Edge Gallery: Offline Mobile AI Model Playground

Google’s open‑source AI Edge Gallery lets Android and iOS devices run large language models such as Gemma 4 entirely offline, eliminating network latency and privacy concerns; the app showcases six modular AI features, offers a simple install path, and signals Google’s push toward a standardized edge‑AI ecosystem.

Gemma 4Google AI Edge GalleryKotlin
0 likes · 8 min read
Google AI Edge Gallery: Offline Mobile AI Model Playground
AI Explorer
AI Explorer
Apr 8, 2026 · Artificial Intelligence

Exploring Google AI Edge Gallery: Running Large Models Locally on Your Phone

Google’s AI Edge Gallery lets you run cutting‑edge large language models such as Gemma 4 entirely offline on Android or iOS devices, offering absolute privacy, zero‑latency responses, and a modular platform with agent skills, thinking mode, multimodal input, and a prompt‑lab for on‑device AI experimentation.

GemmaGoogle AI Edge GalleryKotlin
0 likes · 6 min read
Exploring Google AI Edge Gallery: Running Large Models Locally on Your Phone
Coder Trainee
Coder Trainee
Apr 4, 2026 · Mobile Development

Getting Started with Kotlin‑Java Mixed Development for Android

This guide walks through creating an Android project that combines Java and Kotlin, adding Kotlin dependencies via Maven, and implementing a simple controller with Kotlin syntax, illustrating variable definitions, method signatures, and basic service interaction.

AndroidControllerKotlin
0 likes · 5 min read
Getting Started with Kotlin‑Java Mixed Development for Android
AndroidPub
AndroidPub
Mar 26, 2026 · Mobile Development

Mastering Android Dependency Injection: Hilt vs Koin Explained

This comprehensive guide demystifies Android dependency injection, covering core concepts, manual implementation, the role of composition roots, and a detailed comparison of Hilt and Koin—including their architectures, advantages, trade‑offs, and practical tips for choosing the right framework in real‑world projects.

AndroidDI FrameworksHilt
0 likes · 29 min read
Mastering Android Dependency Injection: Hilt vs Koin Explained
AndroidPub
AndroidPub
Dec 25, 2025 · Fundamentals

13 Common Kotlin Coroutine Exception Scenarios and How to Fix Them

This article walks through thirteen typical Kotlin coroutine exception pitfalls, explains why errors propagate in structured concurrency, shows wrong and correct code patterns for launch, async, coroutineScope, supervisorScope, and other utilities, and provides concrete examples with outputs to help developers write robust coroutine code.

CoroutinesException HandlingKotlin
0 likes · 19 min read
13 Common Kotlin Coroutine Exception Scenarios and How to Fix Them
Kuaishou Tech
Kuaishou Tech
Dec 16, 2025 · Mobile Development

How Leading Tech Giants Are Solving Cross‑Platform Challenges with KMP and AI

The "AI‑Led Cross‑Platform Technology New Paradigm" salon gathered experts from Kuaishou, Alipay, Tencent, and JetBrains to share deep technical insights on Kotlin Multiplatform, large‑scale multi‑device architecture, AI integration, and real‑world migration experiences across iOS, Android and HarmonyOS.

AI integrationKMPKotlin
0 likes · 8 min read
How Leading Tech Giants Are Solving Cross‑Platform Challenges with KMP and AI
AndroidPub
AndroidPub
Dec 8, 2025 · Mobile Development

Mastering Debounce in Kotlin Flow: From Basics to Advanced Use Cases

This article explains the debounce operator in Kotlin Flow, covering its core concept, practical scenarios like search input, multiple implementation styles—including fixed timeout, duration‑based, and dynamic debounce—along with internal mechanics, performance trade‑offs, best practices, common pitfalls, and real‑world code examples.

AndroidCoroutinesDebounce
0 likes · 13 min read
Mastering Debounce in Kotlin Flow: From Basics to Advanced Use Cases
AndroidPub
AndroidPub
Nov 27, 2025 · Mobile Development

Master Android 14+ Permission Management: Best Practices & Code Samples

Learn how Android 14 and newer versions refine permission handling, covering runtime requests, background location, notifications, Bluetooth, media access, foreground services, and UX best practices, with Kotlin code examples and step‑by‑step guidance to ensure compliance and optimal user trust.

KotlinMobile DevelopmentPermissions
0 likes · 7 min read
Master Android 14+ Permission Management: Best Practices & Code Samples
WeiLi Technology Team
WeiLi Technology Team
Oct 30, 2025 · Mobile Development

How to Build a Secure Android Payment SDK from Scratch

This article walks through the complete process of designing and implementing a secure, stable, and easy‑to‑use Android third‑party payment SDK, covering project background, technical challenges, layered architecture, core components, security mechanisms, memory management, UI design, performance optimizations, testing strategies, monitoring, and future roadmap.

AndroidKotlinSecurity
0 likes · 34 min read
How to Build a Secure Android Payment SDK from Scratch
AndroidPub
AndroidPub
Oct 30, 2025 · Mobile Development

Why Capture Crash Screenshots and How to Implement Them on Android

Capturing a screenshot right before an Android app crashes provides visual context that speeds reproduction, clarifies UI/UX conditions, saves debugging time, and bridges communication between developers, QA, and support, and this guide shows how to implement it using UncaughtExceptionHandler, ActivityLifecycleCallbacks, PixelCopy, and Kotlin code.

AndroidCrash HandlingKotlin
0 likes · 8 min read
Why Capture Crash Screenshots and How to Implement Them on Android
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 19, 2025 · Frontend Development

Custom Title Bar, Skinning, and ViewModel in Kotlin Compose Desktop

This article demonstrates how to implement a custom title bar with window controls, apply dynamic skinning, integrate ViewModel using Precompose, handle network and file I/O, manage multi‑page navigation, open file selectors, and use KV storage in a Kotlin Compose Multiplatform desktop application, with full code examples.

ComposeDesktopKotlin
0 likes · 9 min read
Custom Title Bar, Skinning, and ViewModel in Kotlin Compose Desktop
AndroidPub
AndroidPub
Oct 10, 2025 · Mobile Development

How Koin Annotations 2.2 Makes Migrating from Dagger/Hilt to Koin Seamless

Koin Annotations 2.2 introduces JSR‑330 compatibility, predefined scope archetypes, smart module configuration, and built‑in performance monitoring, enabling Android and Kotlin Multiplatform projects to migrate from Dagger or Hilt to Koin safely, progressively, and with minimal code changes.

AndroidJSR-330Koin
0 likes · 10 min read
How Koin Annotations 2.2 Makes Migrating from Dagger/Hilt to Koin Seamless
Sohu Tech Products
Sohu Tech Products
Oct 9, 2025 · Mobile Development

How Android Dynamic Photos Work: XMP Metadata, Formats, and Kotlin Extraction

This article explores the technical architecture of Android dynamic photos, detailing the three‑layer file structure, XMP metadata specifications, and differences among Xiaomi Micro Video, Google Motion Photo, and OPPO O Live Photo, and provides a unified Kotlin solution for detection, parsing, and playback.

AndroidDynamic PhotoKotlin
0 likes · 25 min read
How Android Dynamic Photos Work: XMP Metadata, Formats, and Kotlin Extraction
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 5, 2025 · Fundamentals

Master Kotlin’s inline, crossinline, and noinline: Boost Performance and Control Flow

Explore how Kotlin’s inline, crossinline, and noinline modifiers transform lambda handling, eliminate object creation overhead, enable non‑local returns, and control function expansion, with detailed code examples comparing Java anonymous classes, Kotlin lambdas, bytecode, and practical usage scenarios.

Higher-Order FunctionsInlineKotlin
0 likes · 11 min read
Master Kotlin’s inline, crossinline, and noinline: Boost Performance and Control Flow
AndroidPub
AndroidPub
Sep 12, 2025 · Mobile Development

Unlock Wear OS Development: History, Features, and Compose Code Samples

This article walks through Wear OS’s evolution, core advantages, competitor comparison, essential development principles, and provides hands‑on Compose code examples—including a food‑selector app and a ScalingLazyColumn todo list—to help developers build efficient, battery‑friendly smartwatch applications.

ComposeKotlinMobile Development
0 likes · 16 min read
Unlock Wear OS Development: History, Features, and Compose Code Samples
AndroidPub
AndroidPub
Sep 10, 2025 · Mobile Development

New Composable LifecycleOwner in AndroidX Lifecycle 2.10: Why It Matters

AndroidX Lifecycle 2.10.0‑alpha01 adds a composable LifecycleOwner, explaining how the existing LocalLifecycleOwner derives from view tree owners, when separate owners are needed during screen transitions, and provides code examples for implementing and integrating this new composable into navigation and other components.

AndroidJetpack ComposeKotlin
0 likes · 11 min read
New Composable LifecycleOwner in AndroidX Lifecycle 2.10: Why It Matters
AndroidPub
AndroidPub
Sep 8, 2025 · Mobile Development

How Tiny UI Changes Can Cripple Android Apps—and How Clean Architecture Fixes It

Even a minor UI adjustment, like reshaping a product list or tweaking a cart button, can trigger crashes, state loss, and hard‑to‑track side effects in Android apps; this article explains why solid architecture—separating concerns with Clean Architecture, SOLID principles, and layered design—prevents such disasters and eases future migrations.

AndroidClean ArchitectureKotlin
0 likes · 19 min read
How Tiny UI Changes Can Cripple Android Apps—and How Clean Architecture Fixes It
AndroidPub
AndroidPub
Sep 3, 2025 · Fundamentals

Unlock Cleaner Kotlin Code: Master Nested Type Aliases in Kotlin 2.2

This article explains Kotlin's type alias feature, introduces the new nested type alias support in Kotlin 2.2, discusses its benefits, limitations, practical examples, and how to enable it in Gradle or Maven projects, helping developers write more readable and maintainable code.

KotlinKotlin 2.2code readability
0 likes · 16 min read
Unlock Cleaner Kotlin Code: Master Nested Type Aliases in Kotlin 2.2
Sohu Tech Products
Sohu Tech Products
Aug 28, 2025 · Mobile Development

Master 8 Powerful Caching Strategies for Lightning‑Fast Android Apps

This article explains why caching is critical for modern Android apps and walks developers through eight robust caching strategies—ranging from in‑memory and SharedPreferences to file, Room, multi‑level, TTL, and HTTP caches—complete with Kotlin implementations, real‑world usage examples, pros and cons, and best‑practice guidelines for production.

AndroidKotlinMobile Development
0 likes · 22 min read
Master 8 Powerful Caching Strategies for Lightning‑Fast Android Apps
AndroidPub
AndroidPub
Aug 28, 2025 · Mobile Development

Koin vs Hilt: Which Android DI Framework Wins in 2025?

An in‑depth comparison of the Koin and Hilt dependency‑injection frameworks evaluates adoption trends, design philosophies, learning curves, performance, developer experience, testing, multi‑platform support, and ecosystem integration, helping Android teams decide which solution best fits their project size and requirements.

AndroidDI FrameworksHilt
0 likes · 16 min read
Koin vs Hilt: Which Android DI Framework Wins in 2025?
AndroidPub
AndroidPub
Aug 21, 2025 · Mobile Development

Master 8 Powerful Caching Strategies for Lightning‑Fast Android Apps

This article presents eight essential caching strategies for Android developers—ranging from in‑memory LRU caches and SharedPreferences to file‑based storage, Room databases, multi‑level systems, TTL caches, and HTTP caching—complete with Kotlin implementations, real‑world examples, performance impacts, best‑practice guidelines, and common pitfalls to avoid.

AndroidKotlinMobile Development
0 likes · 22 min read
Master 8 Powerful Caching Strategies for Lightning‑Fast Android Apps
AndroidPub
AndroidPub
Aug 20, 2025 · Fundamentals

Why Blocking vs Non‑Blocking in Kotlin Coroutines Matters: Live Experiments

This article demystifies the difference between blocking and non‑blocking coroutine work in Kotlin by providing runnable examples, measuring sequential, concurrent, and asynchronous execution, and revealing how thread usage, jobs, and dispatchers affect performance and true parallelism.

AsynchronousBlockingCoroutines
0 likes · 10 min read
Why Blocking vs Non‑Blocking in Kotlin Coroutines Matters: Live Experiments
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 18, 2025 · Mobile Development

Master Kotlin Compose Multiplatform: Build, Configure, and Package Desktop Apps

This article provides a comprehensive guide to using Kotlin, Jetpack Compose, and Multiplatform for desktop applications, covering project setup, shared code structure, platform-specific implementations, UI layout, resource handling, dependency configuration, and detailed packaging options for Windows, macOS, and Linux.

Compose MultiplatformDesktop DevelopmentKotlin
0 likes · 12 min read
Master Kotlin Compose Multiplatform: Build, Configure, and Package Desktop Apps
AndroidPub
AndroidPub
Aug 18, 2025 · Mobile Development

Master ExoPlayer in Jetpack Compose: Build a Pro Android Media Player

This guide walks you through integrating Google’s ExoPlayer library into a Jetpack Compose Android app, covering project setup, dependency management, ViewModel‑based player control, custom UI components, lifecycle handling, performance tips, and advanced customization options for building a robust, professional‑grade media player.

AndroidExoPlayerJetpack Compose
0 likes · 20 min read
Master ExoPlayer in Jetpack Compose: Build a Pro Android Media Player
AndroidPub
AndroidPub
Aug 11, 2025 · Fundamentals

Unlocking Kotlin’s Context Parameters: From Receivers to Powerful DSLs

This article traces the evolution of Kotlin’s context receivers into context parameters, explains their syntax and how they extend extension functions, and showcases multiple practical scenarios—including multi‑receiver extensions, coroutine integration, dependency injection, DSL construction, and type‑class patterns—while offering best‑practice guidelines and future outlooks.

Context ParametersDSLExtension Functions
0 likes · 11 min read
Unlocking Kotlin’s Context Parameters: From Receivers to Powerful DSLs
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 10, 2025 · Mobile Development

How to Create Complex Like-Button Animations on HarmonyOS vs Android

This article walks through implementing sophisticated like-button animations using HarmonyOS ArkUI, compares the approach with Android's animation framework, explains key ArkUI APIs like animateTo, and provides detailed Kotlin and TypeScript code for property, Bézier path, and lifecycle management of dynamic UI effects.

AndroidArkUIHarmonyOS
0 likes · 14 min read
How to Create Complex Like-Button Animations on HarmonyOS vs Android
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 9, 2025 · Mobile Development

Why FastJson Crashes with Kotlin Data Classes and How to Fix It

This article examines the challenges of using FastJson, FastJson2, Gson, and Kotlinx-serialization to parse Kotlin data classes in Android, explains why crashes occur due to reflection and null-safety issues, and provides step-by-step solutions—including code modifications, ProGuard rules, and library alternatives—to achieve reliable JSON handling.

AndroidKotlinProGuard
0 likes · 20 min read
Why FastJson Crashes with Kotlin Data Classes and How to Fix It
AndroidPub
AndroidPub
Aug 7, 2025 · Fundamentals

Mastering Kotlin Flow Cancellation: 13 Essential Techniques Explained

This comprehensive guide explores why cancelling Kotlin Flow is crucial for resource management, user experience, network efficiency, and battery life, and walks through thirteen practical cancellation methods—including Job cancellation, structured concurrency, time‑outs, boolean flags, operators like cancellable, take, first, single, and advanced post‑processing techniques—complete with runnable code examples and outputs.

FlowKotlincancellation
0 likes · 21 min read
Mastering Kotlin Flow Cancellation: 13 Essential Techniques Explained
Sohu Tech Products
Sohu Tech Products
Jul 23, 2025 · Mobile Development

Mastering Complex Like-Button Animations on HarmonyOS vs Android with ArkUI

This article walks through implementing sophisticated like-button animations for a news client on HarmonyOS using ArkUI, compares the approach with Android's animation framework, explains key ArkUI APIs like animateTo, and provides detailed Kotlin and TypeScript code for property and Bezier curve animations.

AndroidArkUIBezier Curve
0 likes · 15 min read
Mastering Complex Like-Button Animations on HarmonyOS vs Android with ArkUI
AndroidPub
AndroidPub
Jul 21, 2025 · Fundamentals

How Kotlin’s New Rich Errors Transform Error Handling in 2025

KotlinConf 2025 unveiled Rich Errors, a new union‑type based error‑handling model that replaces try‑catch and Result with explicit success‑or‑error return types, improving type safety, readability, and testability for Kotlin developers.

KotlinKotlin 2.4Rich Errors
0 likes · 7 min read
How Kotlin’s New Rich Errors Transform Error Handling in 2025
AndroidPub
AndroidPub
Jul 17, 2025 · Fundamentals

Mastering Kotlin’s runCatching: A Cleaner Alternative to try‑catch

This article explores Kotlin’s runCatching function, compares it with traditional try‑catch‑finally, demonstrates its usage with practical code examples, explains the Result type and its methods, and provides best‑practice guidelines for resource management and when to prefer runCatching over classic exception handling.

Exception HandlingKotlinfunctional programming
0 likes · 14 min read
Mastering Kotlin’s runCatching: A Cleaner Alternative to try‑catch
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 15, 2025 · Information Security

Boost Web Vulnerability Scanning with LLM‑Powered MCP Server Automation

This article explores how large language models can be integrated with MCP Server and Burp Suite to automate web application vulnerability detection, detailing environment setup, workflow steps, code snippets, challenges such as token limits and payload formatting, and the advantages and limitations of the approach.

Automated Vulnerability ScanningBurp SuiteKotlin
0 likes · 12 min read
Boost Web Vulnerability Scanning with LLM‑Powered MCP Server Automation
AndroidPub
AndroidPub
Jul 14, 2025 · Mobile Development

Will Swift Conquer Android? Inside Apple’s New Android Workgroup

Apple’s newly announced Swift Android Workgroup aims to bring Swift natively to Android, sparking industry debate over a potential shift in mobile development, the strategic motivations behind Apple’s move, Kotlin’s response, and the broader impact on developers’ skill sets and career prospects.

AndroidCross-PlatformKotlin
0 likes · 8 min read
Will Swift Conquer Android? Inside Apple’s New Android Workgroup
AndroidPub
AndroidPub
Jul 8, 2025 · Mobile Development

When to Choose Kotlin Channel Over Flow? A Deep Dive with Code Samples

This article compares Kotlin Channel and Flow, explains their design differences, outlines when to prefer each tool, provides step‑by‑step usage instructions, showcases four channel types, presents real‑world Android examples, and covers advanced patterns and exception handling for robust coroutine communication.

AndroidChannelCoroutines
0 likes · 19 min read
When to Choose Kotlin Channel Over Flow? A Deep Dive with Code Samples
AndroidPub
AndroidPub
Jul 7, 2025 · Mobile Development

When to Use Kotlin Channel vs Flow: A Practical Guide

This article compares Kotlin Channel and Flow, explains their distinct characteristics, shows when to prefer each in Android coroutine programming, provides step‑by‑step usage, multiple channel implementations, real‑world examples, advanced fan‑in/fan‑out patterns, and robust exception handling.

AndroidChannelCoroutines
0 likes · 20 min read
When to Use Kotlin Channel vs Flow: A Practical Guide
AndroidPub
AndroidPub
Jul 3, 2025 · Mobile Development

Mastering Kotlin Coroutine Cancellation: Avoid Zombie Coroutines and Hidden Bugs

This article explains how Kotlin coroutine cancellation works, why catching CancellationException can create zombie coroutines, and provides concrete patterns—using isActive, coroutineContext.ensureActive(), and proper try‑catch placement—to reliably stop repeating tasks without resource leaks.

AsyncCancellationExceptionKotlin
0 likes · 9 min read
Mastering Kotlin Coroutine Cancellation: Avoid Zombie Coroutines and Hidden Bugs
AndroidPub
AndroidPub
Jun 26, 2025 · Fundamentals

Why Kotlin Data Class Lambdas Break Equality and How to Fix It

This article explains how Kotlin treats lambda expressions as distinct objects, causing two data class instances with identical lambda bodies to be unequal, demonstrates the problem with code examples, and shows how extracting the lambda into a shared reference restores proper equality, highlighting implications for equals, hashCode, and Compose.

Code ExampleKotlindata class
0 likes · 3 min read
Why Kotlin Data Class Lambdas Break Equality and How to Fix It
Sohu Tech Products
Sohu Tech Products
Jun 25, 2025 · Mobile Development

Unlocking Android MVI: How Reactive Architecture Beats MVC & MVVM

This article examines the origins, core principles, and practical implementation of the Model‑View‑Intent (MVI) pattern in Android, clarifies common misconceptions with Redux and MVVM, and provides Kotlin code examples and guidelines for building robust, unidirectional, immutable state architectures.

AndroidKotlinMVI
0 likes · 14 min read
Unlocking Android MVI: How Reactive Architecture Beats MVC & MVVM
AndroidPub
AndroidPub
Jun 17, 2025 · Fundamentals

Unlock Kotlin’s New Power: Named Destructuring, Rich Errors, and More

This article reviews the latest Kotlin 2.x enhancements, including name‑based destructuring, the upcoming Rich Errors union type, new first‑party plugins, AI‑focused MCP SDKs and Kooga agents, the stabilization of Compose Multiplatform for iOS, and improved coroutine debugging in Kotlin 2.2.

AI SDKCompose MultiplatformKotlin
0 likes · 8 min read
Unlock Kotlin’s New Power: Named Destructuring, Rich Errors, and More
AndroidPub
AndroidPub
Jun 13, 2025 · Fundamentals

Simplify Kotlin Collections Creation with buildList, buildSet, and buildMap

This article explains how Kotlin's standard library provides concise builder functions such as buildList, buildSet, buildMap, and buildString to create immutable collections and strings efficiently, reducing boilerplate and eliminating lambda overhead while offering specialized variants for primitive types.

CollectionsKotlinList
0 likes · 7 min read
Simplify Kotlin Collections Creation with buildList, buildSet, and buildMap
Tencent Cloud Developer
Tencent Cloud Developer
Jun 10, 2025 · Mobile Development

How Tencent’s ovCompose & KuiklyBase Enable Seamless Cross‑Platform Apps on Android, iOS, and HarmonyOS

This article introduces ovCompose and KuiklyBase, Tencent Video's cross‑platform development framework built on Compose Multiplatform, explains the background, key advantages, implementation details, performance optimizations for Android, iOS and HarmonyOS, provides repository information and outlines future plans.

AndroidCompose MultiplatformHarmonyOS
0 likes · 19 min read
How Tencent’s ovCompose & KuiklyBase Enable Seamless Cross‑Platform Apps on Android, iOS, and HarmonyOS
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 4, 2025 · Backend Development

Understanding Java Locks, synchronized, ReentrantLock, and Kotlin Coroutine Synchronization

This article explains Java's lock mechanisms—including synchronized, ReentrantLock, and their JVM implementations—covers lock classifications, memory barriers, CAS, and compares them with Kotlin coroutine synchronization tools like Mutex, providing code examples and practical guidance for safe concurrent programming.

CoroutinesJVMJava
0 likes · 22 min read
Understanding Java Locks, synchronized, ReentrantLock, and Kotlin Coroutine Synchronization
Ctrip Technology
Ctrip Technology
May 22, 2025 · Mobile Development

An In‑Depth Overview of Skip: A High‑Performance Native Cross‑Platform Development Framework

This article introduces Skip, a new high‑performance native cross‑platform framework that converts Swift/SwiftUI code to Kotlin/Jetpack Compose, detailing its architecture, toolchain, usage steps, code examples, comparisons with other frameworks, project structure, internal modules, and practical considerations for mobile developers.

Jetpack ComposeKotlinSwift
0 likes · 11 min read
An In‑Depth Overview of Skip: A High‑Performance Native Cross‑Platform Development Framework
Sohu Tech Products
Sohu Tech Products
May 21, 2025 · Mobile Development

Compose Multiplatform 1.8.0 for iOS: Stable Release, Performance Benchmarks, and New Features

Compose Multiplatform 1.8.0 brings a stable, production‑ready iOS version with performance comparable to native apps, concurrent rendering, Kotlin/Native compilation, Skia‑based UI, extensive iOS‑specific enhancements, hot‑reload support, and adoption by major teams, marking a significant milestone for cross‑platform mobile development.

Compose MultiplatformKotlinMobile Development
0 likes · 6 min read
Compose Multiplatform 1.8.0 for iOS: Stable Release, Performance Benchmarks, and New Features
Sohu Tech Products
Sohu Tech Products
May 14, 2025 · Mobile Development

Best Practices for Reusing ViewModel Logic Across Multiple Android Screens

This article examines common challenges of sharing user interaction logic across multiple Android screens using ViewModel, compares four reuse strategies—including base class inheritance, helper classes, Kotlin class delegation, and interface default functions—and recommends the interface default‑function approach as the most flexible and maintainable solution.

AndroidKotlinMVI
0 likes · 14 min read
Best Practices for Reusing ViewModel Logic Across Multiple Android Screens
Tencent TDS Service
Tencent TDS Service
Apr 29, 2025 · Frontend Development

How Kuikly Achieves Native‑Level Performance Across Five Platforms with Kotlin Multiplatform

Kuikly, Tencent’s open‑source cross‑platform framework built on Kotlin Multiplatform, delivers native‑level performance and dynamic UI across Android, iOS, HarmonyOS, Web and mini‑programs by combining a lightweight native rendering layer, a two‑tree DSL architecture, precise diffing, and extensive tooling support.

DSLKotlinNative Performance
0 likes · 16 min read
How Kuikly Achieves Native‑Level Performance Across Five Platforms with Kotlin Multiplatform
Sohu Tech Products
Sohu Tech Products
Apr 2, 2025 · Backend Development

Compiling Kotlin to Jack Bytecode: Adding a New Kotlin Target

The article shows how to extend Kotlin by adding a Jack‑bytecode backend, detailing the required standard‑library, CLI module, and IR‑to‑Jack transformer implementation, and demonstrates compiling a simple Kotlin program to Jack bytecode that runs correctly on the Nand2Tetris virtual machine.

IR transformationJack bytecodeKotlin
0 likes · 11 min read
Compiling Kotlin to Jack Bytecode: Adding a New Kotlin Target
Selected Java Interview Questions
Selected Java Interview Questions
Mar 14, 2025 · Backend Development

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

This article explains how to design and implement a business-specific rate‑limiting component in Kotlin using Redis Lua scripts and Spring AOP annotations, covering the motivation, rule definitions, counting strategies, Lua script details, annotation creation, and a practical usage example.

KotlinLuarate limiting
0 likes · 10 min read
Design and Implementation of a Business Rate‑Limiting Component Using Redis Lua Scripts and Kotlin Annotations
Sohu Tech Products
Sohu Tech Products
Feb 26, 2025 · Mobile Development

Building Camera Features with CameraX and Jetpack Compose

The tutorial walks developers through adding the new alpha‑stage viewfinder‑compose and camera‑compose libraries, configuring permissions with Accompanist, creating a CameraPreviewViewModel that manages CameraX preview use cases, and building a full‑screen, Compose‑based camera viewfinder using CameraXViewfinder for adaptive APIs and animations.

Android DevelopmentAndroidXCamera Preview
0 likes · 7 min read
Building Camera Features with CameraX and Jetpack Compose
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 2, 2025 · Mobile Development

Why Koin Is More Suitable Than Hilt for Dependency Injection in Modern Android Development

The article explains the principles of dependency injection, compares the DI frameworks Koin and Hilt in terms of integration difficulty, performance, cross‑platform support, IDE tooling, and maintenance, and concludes that Koin offers a simpler, lighter, and more versatile solution for Android and multiplatform projects.

AndroidDI FrameworkHilt
0 likes · 11 min read
Why Koin Is More Suitable Than Hilt for Dependency Injection in Modern Android Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 23, 2025 · Mobile Development

Advanced Repository and Network Layer Automation in Kotlin Using Annotation Processors, Dynamic Proxies, and Flow

This article presents a comprehensive guide on building a highly modular Android network layer by leveraging Kotlin coroutines, Flow, Retrofit, annotation processors, dynamic proxies, and dependency‑injection frameworks to automatically generate Repository classes and streamline MVVM data flow.

AndroidAnnotation ProcessorDynamic Proxy
0 likes · 16 min read
Advanced Repository and Network Layer Automation in Kotlin Using Annotation Processors, Dynamic Proxies, and Flow
Sohu Tech Products
Sohu Tech Products
Jan 15, 2025 · Mobile Development

Twitter Compose Static Analysis Rules – Guidelines and Best Practices

Twitter’s Compose static‑analysis guide defines a comprehensive set of lint rules—covering state hoisting, proper use of remember, @Immutable annotations, stable collections, safe parameter passing, single‑layout emission, naming conventions for locals, previews and functions, and mandatory Modifier handling—to help large teams write clean, performant Jetpack Compose code.

AndroidComposeDetekt
0 likes · 17 min read
Twitter Compose Static Analysis Rules – Guidelines and Best Practices
Sohu Tech Products
Sohu Tech Products
Jan 8, 2025 · Mobile Development

Understanding Jetpack Compose Layout Process: Composition, Measurement, and Modifier Nodes

Jetpack Compose’s layout process consists of three steps—measuring children, deciding the parent’s size, and placing children—driven by a MeasurePolicy that respects explicit Constraints, while Modifier nodes adjust those constraints and intrinsic measurements provide size hints, enabling efficient, declarative UI rendering.

Android UIJetpack ComposeKotlin
0 likes · 17 min read
Understanding Jetpack Compose Layout Process: Composition, Measurement, and Modifier Nodes
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 2, 2025 · Mobile Development

Introduction to JNI and NDK Development for Android

This article provides a comprehensive introduction to Android NDK development, covering JNI fundamentals, data type mappings, method registration (static and dynamic), JNIEnv usage, CMake build configuration, and multiple practical code examples in Kotlin, C++, and C.

AndroidCCMake
0 likes · 12 min read
Introduction to JNI and NDK Development for Android
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 30, 2024 · Mobile Development

Dynamic Base URL Switching in Retrofit Using Interceptor and Custom Annotations

This article explains the limitations of the default Retrofit baseUrl configuration, reviews three existing solutions, and presents a comprehensive interceptor‑based approach that leverages custom @BaseUrl annotations to dynamically switch base URLs at runtime while handling @Url full‑path parameters correctly.

AndroidDynamicBaseUrlInterceptor
0 likes · 20 min read
Dynamic Base URL Switching in Retrofit Using Interceptor and Custom Annotations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 16, 2024 · Backend Development

Building a Japanese Language Analysis Tool with Java, Kotlin, Spring Boot, and Gradle (Multi‑module Project)

This article details the creation of a Japanese language analysis tool using Java, Kotlin, Spring Boot, and Gradle, explaining the multi‑module project structure, parent and child Gradle configurations, integration of Swing UI with an embedded Chromium engine, and practical tips for mixing Java and Kotlin code.

ChromiumGradleJava
0 likes · 11 min read
Building a Japanese Language Analysis Tool with Java, Kotlin, Spring Boot, and Gradle (Multi‑module Project)
JD Cloud Developers
JD Cloud Developers
Nov 19, 2024 · Fundamentals

When to Choose Coroutines Over Threads: A Deep Dive into Java/Kotlin Concurrency

This article compares coroutines and threads for high‑concurrency and I/O‑intensive workloads versus CPU‑bound tasks, discusses Kotlin coroutine adoption, presents multithreading fundamentals, highlights performance pitfalls like System.currentTimeMillis, and offers code examples and optimization strategies for backend developers.

CoroutinesJavaKotlin
0 likes · 8 min read
When to Choose Coroutines Over Threads: A Deep Dive into Java/Kotlin Concurrency
Bitu Technology
Bitu Technology
Nov 8, 2024 · Mobile Development

Designing a Modular, Scalable Android Player Architecture at Tubi

This article describes how Tubi's Android team redesigned their video player with a modular, distributed architecture—introducing PlayerContext, PlayerHandlerWrapper, and composable modules for ads, event tracking, and TTS—to improve flexibility, testability, and scalability while sharing lessons learned from the refactoring process.

Ad IntegrationAndroidKotlin
0 likes · 12 min read
Designing a Modular, Scalable Android Player Architecture at Tubi
Sohu Tech Products
Sohu Tech Products
Sep 5, 2024 · Mobile Development

Implementing a Simple Danmu (Bullet Screen) Effect Using RecyclerView and StaggeredGridLayoutManager in Android

The article demonstrates how to create a lightweight, infinite‑scrolling danmu (bullet‑screen) effect in Android by embedding a RecyclerView inside a custom DanMuView, using StaggeredGridLayoutManager for multi‑row layout and a scrollBy‑based Runnable to continuously scroll and control speed.

AndroidBulletScreenDanmu
0 likes · 10 min read
Implementing a Simple Danmu (Bullet Screen) Effect Using RecyclerView and StaggeredGridLayoutManager in Android
iQIYI Technical Product Team
iQIYI Technical Product Team
Aug 30, 2024 · Mobile Development

Enhancing Hotfixes for QiYiGuo TV Using Robust and Plugin Mechanisms

To improve QiYiGuo TV’s rapid issue resolution, the team adopted Robust as the core hot‑fix engine and extended it with KRobust to handle reflection, Kotlin methods, enum‑switch mapping, and native‑library swaps, while building an automated deployment platform that now achieves over 95% fix rate and reduces average repair time from three days to under 24 hours across hundreds of channel APKs.

AndroidDeploymentHotfix
0 likes · 16 min read
Enhancing Hotfixes for QiYiGuo TV Using Robust and Plugin Mechanisms
Tencent Cloud Developer
Tencent Cloud Developer
Aug 29, 2024 · Mobile Development

Kotlin Native: Architecture, Compilation, Memory Layout, Interoperability, and Future Outlook

Kotlin Native compiles Kotlin code to native binaries via an IR‑to‑LLVM pipeline, provides C/C++‑compatible memory layout, garbage‑collected runtime, and rich interop with C, C++, Objective‑C/Swift, while facing tooling and value‑type challenges that are being addressed through ongoing performance and language enhancements.

InteropKotlinMemoryManagement
0 likes · 58 min read
Kotlin Native: Architecture, Compilation, Memory Layout, Interoperability, and Future Outlook
Sohu Tech Products
Sohu Tech Products
Aug 28, 2024 · Mobile Development

AutoHeightViewPager: Dynamically Adjusting ViewPager Height in Android

The article introduces AutoHeightViewPager, a custom ViewPager subclass that measures the current page’s view height and overrides onMeasure to resize itself, interpolating between pages during scroll via an AutoHeightPager‑compatible adapter, thereby eliminating blank space or clipping and providing smooth height transitions for variable‑sized content.

AndroidCustom ViewKotlin
0 likes · 9 min read
AutoHeightViewPager: Dynamically Adjusting ViewPager Height in Android
21CTO
21CTO
Aug 9, 2024 · Fundamentals

Why Python Is Now the Dominant Language: Insights from the Latest TIOBE Index

The latest TIOBE Index shows Python surpassing 18% for the first time, overtaking Java as the top language, while Java, C++, and emerging contenders like Rust and Kotlin shift positions, offering developers a strategic view of programming language popularity and future trends.

KotlinPythonTIOBE Index
0 likes · 5 min read
Why Python Is Now the Dominant Language: Insights from the Latest TIOBE Index
Programmer DD
Programmer DD
Aug 9, 2024 · Backend Development

Discover the Most Powerful IntelliJ IDEA 2024.2 Features for Java & Kotlin Developers

IntelliJ IDEA 2024.2 introduces a suite of developer‑focused enhancements—including instant Spring Data JPA queries, cron expression auto‑completion, GraalJS‑powered HTTP client, advanced log management, real‑time performance charts, and rich data‑format visualizers—designed to boost productivity for Java and Kotlin programmers.

GraalJSIntelliJ IDEAJava
0 likes · 6 min read
Discover the Most Powerful IntelliJ IDEA 2024.2 Features for Java & Kotlin Developers
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 24, 2024 · Mobile Development

Practical Lessons from Upgrading a Large Android Codebase to AGP 8.2.2

This article details a three‑month, multi‑step migration of a large Android monorepo from AGP 7.2.2 to 8.2.2, covering Transform API deprecation, namespace handling, Gradle and JDK upgrades, build‑feature toggles, third‑party library adaptations, performance optimizations, and the troubleshooting of numerous compilation pitfalls.

AGPAndroidBuild Optimization
0 likes · 18 min read
Practical Lessons from Upgrading a Large Android Codebase to AGP 8.2.2
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 28, 2024 · Fundamentals

Handcrafting a Minimal Kotlin Coroutine Implementation

This article analyzes the shortcomings of existing Kotlin coroutine tutorials and presents a step‑by‑step guide to building a lightweight coroutine framework from scratch, covering thread basics, CoroutineScope, launch, delay, resume, state‑machine logic, withContext, async, and Deferred with complete code examples.

CoroutinesCustom ImplementationKotlin
0 likes · 15 min read
Handcrafting a Minimal Kotlin Coroutine Implementation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 27, 2024 · Mobile Development

State Management in Jetpack Compose: remember, MutableState, ViewModel, StateFlow, LiveData, and Effect APIs

Jetpack Compose’s state management techniques—including remember, mutableStateOf, ViewModel integration, StateFlow, LiveData, state lifting, and various side‑effect APIs such as LaunchedEffect, rememberCoroutineScope, and DisposableEffect—are explained with Kotlin code examples to help Android developers build robust, reactive UI components.

AndroidEffect APIJetpack Compose
0 likes · 15 min read
State Management in Jetpack Compose: remember, MutableState, ViewModel, StateFlow, LiveData, and Effect APIs
Sohu Tech Products
Sohu Tech Products
Jun 20, 2024 · Fundamentals

Mastering UseCase: Avoid Common Pitfalls and Follow Best Practices in Android Architecture

This article examines the role of UseCase in Android's modern architecture, clarifies its responsibilities, demonstrates proper naming, thread‑safety, signature design, referential transparency, and interface abstraction, and provides concrete Kotlin examples of both incorrect and correct implementations.

AndroidClean ArchitectureDomain Layer
0 likes · 10 min read
Mastering UseCase: Avoid Common Pitfalls and Follow Best Practices in Android Architecture
php Courses
php Courses
Jun 19, 2024 · Fundamentals

Why We Need Secondary Constructors and How to Implement Them in Kotlin

The article explains the importance of auxiliary (secondary) constructors for flexible object creation, contrasts PHP's lack of support with Kotlin's feature, and demonstrates clean implementations using primary constructors and static factory methods to improve readability and maintainability.

ConstructorsDesign PatternsKotlin
0 likes · 4 min read
Why We Need Secondary Constructors and How to Implement Them in Kotlin
Sohu Tech Products
Sohu Tech Products
Jun 5, 2024 · Mobile Development

Android KAPT Build Optimization: From Analysis to KSP Migration and IDE Plugin Solutions

The article analyzes why KAPT consumes 82% of Android‑Kotlin build time and presents three optimization strategies—enabling KAPT incremental compilation, migrating to the faster KSP processor, and creating an Android Studio plugin that generates code at development time—detailing their implementation steps, performance gains, and trade‑offs.

AndroidAndroid Studio PluginAnnotation Processor
0 likes · 40 min read
Android KAPT Build Optimization: From Analysis to KSP Migration and IDE Plugin Solutions
Architect's Guide
Architect's Guide
Jun 4, 2024 · Fundamentals

IntelliJ IDEA 2024.1 Release: New Features and Improvements

JetBrains' 2024.1 update for IntelliJ IDEA introduces full‑line code completion, Java 22 support, a revamped terminal, AI Assistant enhancements, improved version‑control integration, faster Maven project loading, advanced debugging, Spring framework upgrades, and numerous UI and refactoring refinements, all aimed at boosting developer productivity.

AI code completionIDE FeaturesIntelliJ IDEA
0 likes · 11 min read
IntelliJ IDEA 2024.1 Release: New Features and Improvements
Continuous Delivery 2.0
Continuous Delivery 2.0
May 30, 2024 · Artificial Intelligence

Meta’s TestGen‑LLM: AI‑Driven Automatic Unit Test Generation for Kotlin Code

In 2024 Meta introduced TestGen‑LLM, an AI‑powered tool that automatically generates Kotlin unit tests using large language models, improving test coverage through a multi‑stage pipeline of candidate generation, compilation filtering, execution filtering, coverage validation, refactoring, and engineer review, with reported coverage gains across Facebook and Instagram codebases.

AIKotlinLLM
0 likes · 6 min read
Meta’s TestGen‑LLM: AI‑Driven Automatic Unit Test Generation for Kotlin Code
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 22, 2024 · Mobile Development

Android MVVM Architecture

This article explains the MVVM (Model-View-ViewModel) architecture for modern Android development, detailing its three core components, their responsibilities, and provides a step‑by‑step example with Jetpack components, including LiveData, ViewModel, View Binding, and complete code snippets to build a simple user list UI.

AndroidJavaKotlin
0 likes · 8 min read
Android MVVM Architecture