I'm performing a service for a client where I need to populate a Spinner
with data stored on a node in Firebase. I've tried several tutorials, but I did not get results.
I have created two entities in my project, a Clientes
, which contains the attributes and getters
and setters
of clientes
and another entity called Prefixos
, which also contains attributes and getters
e setters
of car prefixes.
I created two activity's
, one to register new clients and another to register new prefixes. The clients and prefixes are being correctly registered in us in Firebase, but when I try to get the data registered in the Clientes
and Prefixos
nodes to put in a Spinner
, I'm not able to populate it correctly in a activity
which contains these spinners
.
To summarize: I have a activity
separated from the activitys
of register, where I have a spinner
to cliente
and one to prefixo
, where I want to show in spinner
the name of the client and the% prefix his car, but I'm not succeeding. Thanks in advance.