Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dora4/dora-arouter-support
🧩 Dora MVVM框架扩展包 - 用于整合ARouter模块化、组件化路由框架
https://github.com/dora4/dora-arouter-support
Last synced: about 2 months ago
JSON representation
🧩 Dora MVVM框架扩展包 - 用于整合ARouter模块化、组件化路由框架
- Host: GitHub
- URL: https://github.com/dora4/dora-arouter-support
- Owner: dora4
- License: apache-2.0
- Created: 2023-04-13T18:15:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T16:48:32.000Z (about 2 months ago)
- Last Synced: 2024-12-09T17:45:37.377Z (about 2 months ago)
- Language: Kotlin
- Homepage:
- Size: 119 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
dora-arouter-support
![Release](https://jitpack.io/v/dora4/dora-arouter-support.svg)
--------------------------------#### gradle依赖配置
```kotlin
// 添加以下代码到项目根目录下的build.gradle.kts
allprojects {
repositories {
maven { setUrl("https://jitpack.io") }
}
}
// 添加以下代码到app模块的build.gradle.kts
plugins {
id("kotlin-kapt")
}
kapt {
generateStubs = true
arguments {
arg("AROUTER_MODULE_NAME", project.getName())
}
}
dependencies {
// 扩展包必须在有主框架dora的情况下使用
implementation("com.github.dora4:dora:1.2.32")
implementation("com.github.dora4:dora-arouter-support:1.7")
kapt("com.alibaba:arouter-compiler:1.5.2")
}
```
#### Dora SDK生命周期注入配置
添加以下代码到AndroidManifest.xml
```xml
```