Guys, good night. I made this model based on the previous questions I asked in the community and other posts I saw.
This code there fill my listview with all the “Names” that are in my subtag Name.
The second code instead of fetching the name in the list is fetching the order it was recorded in the Database. What I want is when starting the app it doesn’t bring this list already filled and when searching it brings the name and not the position it is.
Another question, I know Firebase in a NoSql database but wanted to do a Select statement type. In my project inside firebase I have for each record (CPF) the following Subtags: Name, Neighborhood and Specialty (example: Pedreiro). Suppose I had 20 professionals in the most diverse neighborhood (may be from the same neighborhood) or different specialties (may also be from the same specialty) and I wanted to know, for example, in the neighborhood x what are the names and specialties that belong to that neighborhood or bricklayer specialty what are the names and neighborhoods. It is possible?