I am very new to Android and I don't have a lot of knowledge about JSON parsing. I have tree structure JSON but am unable to parse and store it in class and I'm confused how to display on the UI.
Note: I have trying JSON Parsing Mannually, any libary for this, give me hints. ::: unable to fetching in ui , I want to fetch data in to stricky header view. Any idea, I have store separately subcategory1, 2,3,and 4 in different class as class list because i have just four subcategory every category.
Below is code snipped showing what i've done thus far, but i am not sure that works or not, could anybody help me with how to store data in java class and how to access and display it on UI.
UI Structure: Every Category as Stricky Top.(Problem: During Show data on This View)
Category1
Sub Category 1
data
Sub Category 2
data
Sub Category 3
data
Sub Category 4
data
Category2
Sub Category 1
data
Sub Category 2
data
Sub Category 3
data
Sub Category 4
data
.
.
.
I have JSON Data ,Structure Image, that i have json.https://i.stack.imgur.com/WvjJo.jpg
JSON Data: Click Here
What i have done during parsing in android: I have added data on separate class for sub categories class like commclass, callsiclass, text class here.
Getting All ads in these list;
display all data same every category and subcategory. how to display respective data from class.
Thanks in advance. I'd appreciate if anybody could help out with the appropriate tricks parsing these type of JSON data in android.