In my xml file I have two or more parent nodes like:-
//parent node pizza //attributes are 1 Veg Pizza
//parent node burger
//attributes are 1 Veg Burger,
Whenever the user clicks on pizza listview item then the user should be able to view only list of pizza items in another activity's listview. I know how to call next activity and so on, but I want to know how I can use different parent nodes in my java class, exactly what are the changes I need to do in my java class, please see this link, I am using this tutorial, but here they are using only one parent node song but I want to add more and I have added in my xml file but don't know what are the changes I need to do in java class.