RepositoryJavaCNTrung Quốc
LU

luojilab/DDComponentForAndroid

一套完整有效的android组件化方案,支持组件的组件完全隔离、单独调试、集成调试、组件交互、UI跳转、动态加载卸载等功能

3.3ksao
561fork
21issue
1lượt xem

🧩 DDComponentForAndroid: Giải pháp component hóa Android toàn diện

Component độc lập debug, giao tiếp qua interface, routing chuyển màn hình bằng scheme/host.

DDComponentForAndroid (3.3k⭐) là framework component hóa cho Android do LuoJiLab phát triển, hỗ trợ tách app thành nhiều module độc lập, mỗi module có thể chạy độc lập hoặc tích hợp vào host để debug chung. Framework cung cấp cơ chế giao tiếp dữ liệu qua interface + implementation, chuyển màn hình Activity qua routing scheme/host, đồng thời sinh tự động routing table. Hỗ trợ tải/đóng dẹt component tích hợp động và Kotlin.

✨ Điểm nổi bật

  • Độc lập debug: mỗi component có thể chạy độc lập với isRunAlone=true
  • Cô đọng hoàn toàn: component giao tiếp qua interface, tránh import trực tiếp
  • Routing chuyển màn hình: dùng scheme và host để chuyển Activity
  • Tự động sinh routing table: không cần viết thủ công
  • Host linh hoạt: bất kỳ component nào có thể là host tích hợp component khác
  • Tải/đóng dẹt động: load/unload component đã tích hợp tại thời gian chạy
  • Hỗ trợ Kotlin: component bằng Kotlin được hỗ trợ

💡 Vì sao đáng chú ý

Khác với cách component hóa thông thường gây ràng buộc giữa các module, DDComponentForAndroid dùng interface để phân tách hoàn toàn, giúp mỗi team phát triển component độc lập. Routing dựa trên scheme/host giúp chuyển màn hình linh hoạt, dễ bảy trì. Phù hợp với dự án Android lớn cần tách module rõ ràng, hỗ trợ đa team phát triển độc lập.


#Android #Component #Architecture #Routing #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryJava
JessYanCoding/ArmsComponent

📦 A complete android componentization solution, powered by MVPArms (MVPArms 官方快速组件化方案).

1.7k
Apr 27, 2020
RepositoryDart
flutter/flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

180.4k
Oct 26, 2026
RepositoryJava
android10/Android-CleanArchitecture

This is a sample app that is part of a series of blog posts I have written about how to architect an android application using Uncle Bob's clean architecture approach.

15.5k
Apr 28, 2023
RepositoryJava
JessYanCoding/MVPArms

⚔️ A common architecture for Android applications developing based on MVP, integrates many open source projects, to make your developing quicker and easier (一个整合了大量主流开源项目高度可配置化的 Android MVP 快速集成框架).

10.2k
Mar 22, 2023
RepositoryJava
luckybilly/CC

业界首个支持渐进式组件化改造的Android组件化开源框架,支持跨进程调用。Componentize your android project gradually.

4.0k
Oct 11, 2023
RepositoryKotlin
android/architecture-samples

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.

45.9k
Oct 20, 2026
RepositoryKotlin
bufferapp/android-clean-architecture-boilerplate

An android boilerplate project using clean architecture

3.7k
May 19, 2023
RepositoryC++
react/react-native

A framework for building native applications using React

126.8k
Oct 26, 2026
Repository
justjavac/free-programming-books-zh_CN

:books: 免费的计算机编程类中文书籍,欢迎投稿

119.3k
Jul 29, 2026