@julianluis wrote:
I would like a tip, I populate a list with data coming from a webservice, through code:
<ion-list> <ion-item *ngFor="let item of itens"> {{item.id}} {{item.date}} {{item.anotherField}} //field from a request at another endpoint </ion-item> </ion-list>But in the item has an id that I need to use to make another request, how could I do this the moment I fill in the list?
I need to create an array, scroll and order for each id and then define that array in the * ngFor of the ion-list?
Posts: 2
Participants: 2