Postingan lainnya
Cara bikin UITableView Multi-level di objective C
halo kak, saya ingin tanya gimana ya bikin UITableView dgn multilevel kedalam 3 level, dengan DataModel yang ada?
dengan contoh data raw seperti berikut"
{ "data": { "categoryAllList": { "categories": [{ "id": "1", "name": "Books", "tree": "1", "child": [{ "id": "783", "name": "Design", "tree": "2", "child": [{ "id": "784", "name": "Adobe Photoshop", "tree": "3" }, { "id": "788", "name": "Beautiful Designs", "tree": "3" }, { "id": "785", "name": "Design Principle", "tree": "3" }, ] }, { "id": "3315", "name": "Cooking", "tree": "2", "child": [] }, { "id": "880", "name": "Coding", "tree": "2", "child": [{ "id": "882", "name": "Object-Oriented Programming", "tree": "3", }, ] }, ] }, { "id": "2", "name": "Handphones", "tree": "1", "child": [{ "id": "783", "name": "iPhone", "tree": "2", "child": [{ "id": "784", "name": "iPhone X", "tree": "3" }, { "id": "788", "name": "iPhone SE", "tree": "3" }, ] }, { "id": "3315", "name": "Nokia", "tree": "2", "child": [] }, { "id": "880", "name": "Samsung", "tree": "2", "child": [{ "id": "882", "name": "Galaxy Note2", "tree": "3", }, ] }, ] }, { "id": "3", "name": "Notebooks", "tree": "1", "child": [{ "id": "783", "name": "Macbook", "tree": "2", "child": [] }, ] }, { "id": "3", "name": "Notebooks", "tree": "1", "child": [] }, ] } }}
0
Belum ada Jawaban. Jadi yang pertama Jawaban
Login untuk ikut Jawaban