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

Roomのpre-populate機能の紹介 #976

Open
hkurokawa opened this issue Aug 14, 2019 · 1 comment
Open

Roomのpre-populate機能の紹介 #976

hkurokawa opened this issue Aug 14, 2019 · 1 comment
Milestone

Comments

@hkurokawa
Copy link

https://medium.com/androiddevelopers/packing-the-room-pre-populate-your-database-with-this-one-method-333ae190e680

Room 2.2からpre-populate機能が使えるようになり、あらかじめ必要なデータをassetもしくはローカルファイルに置いておくと、初期化時にその内容をロードできるそうです。

@hkurokawa hkurokawa added this to the 81 2019-08-18 milestone Aug 14, 2019
@hkurokawa
Copy link
Author

記事の後半にマイグレーションとの関係が載っていますが、なかなか複雑そうでした。

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

1 participant