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]
For Displaying data from firebase in checkbox
Fetching data from firebase