Trung Quốcluojilab/DDComponentForAndroid
一套完整有效的android组件化方案,支持组件的组件完全隔离、单独调试、集成调试、组件交互、UI跳转、动态加载卸载等功能
🧩 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.
📦 A complete android componentization solution, powered by MVPArms (MVPArms 官方快速组件化方案).
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
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.
⚔️ A common architecture for Android applications developing based on MVP, integrates many open source projects, to make your developing quicker and easier (一个整合了大量主流开源项目高度可配置化的 Android MVP 快速集成框架).
业界首个支持渐进式组件化改造的Android组件化开源框架,支持跨进程调用。Componentize your android project gradually.
A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.
An android boilerplate project using clean architecture