bouzuya/android-sample5 0.5.0 をつくった。
drawer layout を追加。 bookmark list と tag list がともに top level になった。
build.gradle
に↓のような Room の設定を入れているのだけど schemas
の下に出力される database の schema は packageName が prefix になっているのでリファクタリングでパッケージを変えるときは json も合わせて移動しないとまずそう。
android { defaultConfig { javaCompileOptions { annotationProcessorOptions { arguments = [ "room.schemaLocation" : "$projectDir/schemas".toString(), "room.incremental" : "true", "room.expandProjection": "true" ] } } } }