Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

感觉这套框架挺好用的 #31

Open
guozhiqiang123 opened this issue Oct 23, 2023 · 4 comments
Open

感觉这套框架挺好用的 #31

guozhiqiang123 opened this issue Oct 23, 2023 · 4 comments
Labels

Comments

@guozhiqiang123
Copy link

和作者交流个问题。基于RecyclerView能不能构建一套compose那样的响应式框架啊?我总觉得是可以的。
借助DifferUtils应该也是可以做到增量刷新和差异化刷新的。只是需要构建一个通用的中间层,来模仿响应式。
不知道作者如何看待这个问题?

@angcyo
Copy link
Owner

angcyo commented Oct 24, 2023

是不是这个东西?

https://github.com/angcyo/DslItem

@guozhiqiang123
Copy link
Author

是不是这个东西?

https://github.com/angcyo/DslItem

不是,就是compose或者flutter那样的,数据驱动UI,响应式的。

@guozhiqiang123
Copy link
Author

去看了下DslItem这个库,感觉还可以更加大胆一点,提供扩展把xml都干掉,让上层感知不到底层使用的是recyclerview。

@angcyo
Copy link
Owner

angcyo commented Oct 25, 2023

xml用来渲染界面,app中可以覆盖同名文件达到自定义界面的效果.
Item用来实现逻辑.

@angcyo angcyo added the good label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants