I am having two set of apis. Which gives me a list of array of data.
For ex:
First api returns "postData". Second api return "promotionData".
Now i have to list the postdata in a page. I used Listview.builder to show all the postData api response data.
Now i have promotionData which return another set of json list of data.
The actual output i need is i want to display the five data of postData and then in between i have to show promotionData details and then postData details.
This is similar to FB and Twritter. Where we can see 5 posts and one promoAdd data.
How can i do this. Please help fnz.....