Firebase Database To Spinner [code Cleaning Help]
Data Trying to access I'm trying to store all the values of database to a spinner. Final result should be to show all values in a spinner. Code is implemented somehow but I feel t
Solution 1:
Your code is fine, but there is only one thing that you need to remove. You don't need to assign the dataSnapshot
object to a new DataSnapshot object. You can easely use dataSnapshot
directly. So remove the new created object and use only dataSnapshot
in your code.
Post a Comment for "Firebase Database To Spinner [code Cleaning Help]"