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

关于RealmHelper的疑问 #129

Open
wangyuan0217 opened this issue Apr 3, 2018 · 1 comment
Open

关于RealmHelper的疑问 #129

wangyuan0217 opened this issue Apr 3, 2018 · 1 comment

Comments

@wangyuan0217
Copy link

@wangyuan0217 wangyuan0217 commented Apr 3, 2018

使用RealmHelper的时候为什么不直接@Inject RealmHelper?
项目中是在AppComponent里面提供接口 然后App.getAppComponent().realmHelper()。

@wangyuan0217
Copy link
Author

@wangyuan0217 wangyuan0217 commented Apr 10, 2018

还有为什么这个Realm用dagger管理了,Realm没有调用过.close()方法,难道不需要关闭资源吗

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.