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

Android组件化后 本地数据库如何设计 #756

Open
RDSunhy opened this issue Apr 13, 2021 · 2 comments
Open

Android组件化后 本地数据库如何设计 #756

RDSunhy opened this issue Apr 13, 2021 · 2 comments

Comments

@RDSunhy
Copy link

RDSunhy commented Apr 13, 2021

每个组件独立维护一套 最解耦 但是一些比较公共的表就需要多次实现(比如:user,可能每个组件都需要写一次user的增删改查);大家都是怎么处理的?求教!

@ckitterl
Copy link

ContentProvider;提供一个基础组件来实现基础功能

@GeekBugs
Copy link

单独有个DB组件去做,用dagger2联调

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants