Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

对框架的一点疑问 #1

Closed
zhangkevd opened this issue Oct 8, 2018 · 1 comment
Closed

对框架的一点疑问 #1

zhangkevd opened this issue Oct 8, 2018 · 1 comment

Comments

@zhangkevd
Copy link

感觉像变种的handler,时间长了或者是业务很多,result里面会不堪重负,且查代码不方便,还不如直接使用Rxjava。

@KunMinX
Copy link
Owner

KunMinX commented Oct 8, 2018

@zhangkevd 没错,UI逻辑的处理有点像handlerMessages。你想象一下,如果直接在rxjava中回调处理UI逻辑,那么要么UI的工作在业务层做了,要么业务的工作是在UI层做,那是不是说,我因为需要依赖业务,而需要等业务写完才能写UI?这样就无法真正的分工,这造成了耦合。

@KunMinX KunMinX closed this as completed Oct 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants