• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Firestore

Hi guys, so in Firestore I have fields written in capital letters and when I'm creating the object class that will represent the document, I don't want to have capital letter properties there... example:

Firestore:

collections Menu:

document fields: APPETIZER: "salad"

in the class Menu:

val appetizer: String? = null

this won't work because it is in capital letters in Firestore and it will only work if I do that in the class:

val APPETIZER: String? = null

How should I do this??
 
Welcome to Android Forums! I don't understand a word of what you wrote because I'm not a developer, but when folks see this who do, I'm sure you'll get your question answered. Thanks for posting!
 
Back
Top Bottom