Hello,
Welcome to Microsoft Q&A!
We could create a global variable to store the data from Web API in page A ,and pass the data when pushing to page B .
private ProductDetail productDetails ;
public async void OnGetProductDetailButton(object sender, EventArgs e)
{
if(productDetails == null){
//call web api
// productDetails = data;
}
await Navigation.PushAsync(new ProductDetailPage
{
BindingContext = productDetails
});
}
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.