Tag

ARouter

1 views collected around this technical thread.

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.

ARouterAndroidGradle
0 likes · 21 min read
Practical Guide to Android Componentization and Modular Development
Sohu Tech Products
Sohu Tech Products
Dec 8, 2021 · Mobile Development

Understanding Android App Routing: Concepts, Requirements, and Implementation

This article explains the concept of routing in Android applications, discusses why third‑party routing frameworks are often needed for large, componentized apps, outlines the essential features of a routing framework, and details the implementation techniques such as annotation processing, AOP injection, and service routing with concrete code examples.

AOPARouterAndroid
0 likes · 14 min read
Understanding Android App Routing: Concepts, Requirements, and Implementation
vivo Internet Technology
vivo Internet Technology
Aug 18, 2021 · Mobile Development

Android App Modular Development Practice: A Comprehensive Guide

This guide explains how to adopt a multi‑project modular architecture for Android apps—distinguishing components from modules, outlining vertical and horizontal design layers, showing ARouter‑based navigation and communication, and detailing a top‑down, bottom‑up migration process used to refactor the vivo official app.

ARouterAndroid DevelopmentApp Architecture
0 likes · 15 min read
Android App Modular Development Practice: A Comprehensive Guide
Sohu Tech Products
Sohu Tech Products
Jun 23, 2021 · Mobile Development

Android Componentization: Architecture, Implementation, and Best Practices

This article explains why large Android projects need componentization, describes the concepts of modularization and componentization, presents a detailed component architecture, and provides step‑by‑step solutions for independent debugging, routing, inter‑component communication, fragment retrieval, application lifecycle distribution, and migration of legacy projects, complete with Gradle and ARouter code examples.

ARouterAndroidGradle
0 likes · 32 min read
Android Componentization: Architecture, Implementation, and Best Practices
vivo Internet Technology
vivo Internet Technology
May 26, 2021 · Mobile Development

Understanding DEX, VDEX, ODEX and ARouter Optimization in Android Development

The article explains Android’s DEX compilation flow, the transformation of DEX into VDEX and ODEX during ART pre‑optimization, why ODEX lacks the original classes.dex causing ARouter routing failures, and how disabling dex stripping in the build restores the missing classes for stable navigation.

ARouterAndroidDex
0 likes · 12 min read
Understanding DEX, VDEX, ODEX and ARouter Optimization in Android Development
Sohu Tech Products
Sohu Tech Products
Jan 28, 2021 · Mobile Development

Android Componentization: Architecture, Independent Debugging, Routing, and Communication

This article explains how to transform a large Android project into a componentized architecture by modularizing code, configuring Gradle for independent debugging, using ARouter for page navigation and service communication, handling fragment instances, distributing Application lifecycle events, and migrating legacy projects.

ARouterAndroidDependencyInjection
0 likes · 32 min read
Android Componentization: Architecture, Independent Debugging, Routing, and Communication