Я учусь трепетать. Можете ли вы помочь мне в задаче.
- Назначьте модели, указанной ниже json из API.
- Дизайн виджета UI Screen Chip с count, mstadstatus => name, mstadstatus => color (цвет фона чипа).
- Ниже Json:
[{"count": 2854, "mstadstatus": {"id": 1 , "name": "Апельсин", "isactive": true, "colorcode": "# 28a745"}}, {"count": 0, "mstadstatus": {"id": 2, "name": "Арбуз "," isactive ": true," colorcode ":" # ffc107 "}}, {" count ": 0," mstadstatus ": {" id ": 3," name ":" Sapota "," isactive ": true , "colorcode": "# 17a2b8"}}, {"count": 0, "mstadstatus": {"id": 4, "name": "Jawa", "isactive": true, "colorcode": "# 343a40 "}}, {" count ": 0," mstadstatus ": {" id ": 5," name ":" Man go "," isactive ": true," colorcode ":" # ffc107 "}} , {"count": 0, "mstadstatus": {"id": 6, "name": "Apple", "isactive": true, "colorcode": "# 007bff"}}, {"count": 0 , "mstadstatus": {"id": 99, "name": "Banana", "isactive": true, "colorcode": "# dc354 5 "}}]
Спасибо.