I have problem with parsing JSON data in android. I want to populate the following json data to spinners.
I have populated the categories to 1st spinner but i need to populate the 2nd spinner for subcategories which is dependent on 1st spinner. When user select the category from 1st spinner then 2nd spinner should display the
only the first subarray(subcategories) i.e "sub category 1" and "sub category 5".