OnePiece
OnePiece Of Android
Install / Use
/learn @czn6/OnePieceREADME
OnePiece
注意:本项目主要是自己测试用。
使用
在项目根 build.gradle 加上 jetpack 的 maven 地址:
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
在模块中添加依赖:
implementation 'com.github.AlanCheen.OnePiece:architecture:1.0.2.1'
implementation 'com.github.AlanCheen.OnePiece:fantasy:1.0.2.1'
implementation 'com.github.AlanCheen.OnePiece:pandora:1.0.2.1'
最新版本请查阅 GitHub Release:https://github.com/AlanCheen/OnePiece/releases
Architecture
关于架构的基础封装。
- ui layer
- data layer
- domain layer
Base and Common classes
Pandora
KTX & Utils
Fantasy
UI widgets 。
自定义控件、动画等。
Design
规范记录
命名规范:
- 动词 + 名词
- isXXX
runOnMainThread 优于 mainThread,虽然 mainThread 写起来更方便,但是不是很明确
Related Skills
node-connect
347.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
