Comments (3)
现在只针对 Intent 支持的数据类型做了处理。如果需要传 Bean 或者 集合,需要做转换,这个可以后续考虑支持 但需要注意的是,Intent 可以传递的数据大小是有限的
from tieguanyin.
v2.0-converter 分支上尝试做了对 Bean 的支持,在 App 模块中有 Person、Book 类作为演示,支持嵌套,目前使用反射做数据类型的转换~可以试下
from tieguanyin.
感觉 Parcelable 足够使用,不准备对任意类型做支持了。
from tieguanyin.
Related Issues (13)
- Strict Mode
- not work well in single task launch Mode HOT 3
- Intent 传递数据无需保存恢复 HOT 2
- Support Coroutine HOT 4
- Use a generic interface to provide param type or result type
- Use a generic interface to provide param type or result type
- 代码混淆后传递参数为null HOT 2
- Support Androidx HOT 1
- 这个依赖不在维护了吗 HOT 2
- Support Gradle incremental build
- 项目编译报错 HOT 2
- javapoet构建类疑问 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tieguanyin.