0
I’m performing a service for a client where I need to popular a Spinner
with data stored in a node in Firebase. I’ve tried several tutorials, but no result.
I created two entities in my project, an entity Clientes
, containing the attributes and getters
and setters
of clientes
and another entity called Prefixos
, which also contains attributes and getters
and setters
prefixed.
I created two activity's
, one to register new customers and one to register new prefixes. The clients and prefixes are being registered correctly in us in Firebase, however, when I try to get the data registered in the nodes Clientes
and Prefixos
to put on a Spinner
, I’m not getting it properly populated in a activity
containing these spinners
.
To summarize: I have one activity
separate from activitys
registration, where I have a spinner
for cliente
and one for prefixo
, where I want to show on a spinner
the name of the customer and the prefix of his car, but I am not succeeding. Thanks in advance.
Where is the problematic code?
– Pablo Almeida