dotnet / dotnet/maui

[Android] Loaded event not triggered when navigating back to a previous page

Open
#29,414 3 comments 1 reaction 2 assignees Claimed by @PureWeen View on GitHub
partner/syncfusion platform/android s/triaged t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

I'm encountering an issue where the Loaded event is triggered as expected the first time the page appears. However, after navigating to another page and then returning, the Loaded event does not fire again. This behavior occurs only on the Android platform—it works correctly on Windows, macOS, and iOS.

### Steps to Reproduce

1. Run the attached sample.
2. Note the loaded event of the main page is triggered as expected the first time
3. Click on the "Click to navigate new page" button to navigate another page.
4. Now click on "Click to navigate main page" button to navigate main page.
5. Note the loaded event is not triggered after navigated to main page.

### Link to public reproduction project repository

[MauiApp4.zip](https://github.com/user-attachments/files/20121813/MauiApp4.zip)

### Version with bug

9.0.60 SR6

### Is this a regression from previous behavior?

Not sure, did not test other versions

### Last version that worked well

Unknown/Other

### Affected platforms

Android

### Affected platform versions

Android

### Did you find any workaround?

No

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.