I have a DataSnapshot JSON object :
{fridge2: true, fridge1: true} //data pulled from a real time firebase database
I have to put fri
fri
you insert just the key and you have to insert key and values i think or tell me what is ur list ..ArrayList , stack,Linked List or tree i think all what you need to do .. fridges.add(fridge.key,fridge.value);