Overview of WMRouter
masterWMRouter is an Android routing framework designed for component-based architectures. It provides two primary capabilities to facilitate communication and navigation in modularized Android applications:
- URI Dispatching: Enables page navigation between different modules or via dynamic URI links. It supports multiple schemes, hosts, and paths, URI regex matching, and interceptors for pre-navigation logic (like authentication or location checks).
- ServiceLoader: An enhanced implementation of the SPI (Service Provider Interface) pattern. It allows modules to call code via interfaces without direct dependencies, enabling decoupled inter-module communication and dependency injection-like functionality.
Key features include optimized Gradle plugin performance, compile-time and runtime configuration checks, and robust debugging tools.