A
A
AndreyRafalsky132019-03-14 09:53:30
Android
AndreyRafalsky13, 2019-03-14 09:53:30

What's the best practice for storing constants that are database specific?

Started learning Firebase. I asked myself this question. You need to store the names of the collections, the names of the fields, etc. somewhere. To do this, you need to create constants, but where to store them? Need to create a new class like DatabaseConstants? Clarify please.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question