How to retrieve data from firebase into checkbox in android

0 votes
asked Sep 12, 2017 by trendyupdates

I'am creating the app which store the category data into firebase and display into Listview but i want to display that data from firebase into android checkbox and when there is no data on firebase no checkbox is displayed and when user add any category it will display on checkbox activity.. There is two different activity for add category as well as display data into checkbox.. In My Xml File in which i am using gone in linerlayout when there is no category on firebase no checkbox is visible and when one category is added then one checkbox is display after edittext in my XMl activity][1]

For Displaying data from firebase in checkbox

Fetching data from firebase

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter