ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 56 - Associate Android Developer discussion

Report
Export

Room can export your database's schema information into a JSON file at compile time. What annotation processor property you should set in your app/build.gradle file to export the schema?

A.
room.expandProjection
Answers
A.
room.expandProjection
B.
room.incremental
Answers
B.
room.incremental
C.
room.schemaLocation
Answers
C.
room.schemaLocation
Suggested answer: C

Explanation:

android {

...

defaultConfig {

... javaCompileOptions { annotationProcessorOptions { arguments += ["room.schemaLocation": "$projectDir/

schemas".toString()]

}

}

}}

asked 18/09/2024
ALEXANDRE NGUYEN
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first