Just suggest the use cases to test in this scenario and the logic that will be writen in it block.
.html
<ion-list>
<ion-item *ngFor="let data of datas" (click)="onClick2()">
{{data}}
</ion-item>
.ts
export class Page1 {
public datas = ['Apple', 'Bananas', 'Oranges'];
constructor(private service: Service, private navCtrl: NavController) { }
}
Thank you