I have a list view to list some categories. I need to list the products under each category in a new list. I used arrayList to the adapter, I am able to list the category names . but I cant pass the keys (categoryIds) to the next view for getting the products.Please help me in this regard.

For Now I am trying to display the categoryId in the produts page, but i am not suceeding

I am not getting any errors. program is running. But heading is not displaying in the next screen.My prob is: I have 16 items in a list. When i will click on the Item, and it will move to the next screen. In the next screen, the heading will display which item i selected.

I am not getting any errors. program is running. But heading is not displaying in the next screen.My prob is: I have 16 items in a list. When i will click on the Item, and it will move to the next screen. In the next screen, the heading will display which item i selected.