Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] IPageVisibilityEvents interface #7

Open
BurkusCat opened this issue Oct 2, 2023 · 0 comments
Open

[Feature] IPageVisibilityEvents interface #7

BurkusCat opened this issue Oct 2, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@BurkusCat
Copy link
Owner

Is your feature request related to a problem? Please describe.
A new interface that can be added to viewmodels called IPageVisibilityEvents. These events are 1:1 mappings of the view's equivalent events.

Describe the solution you'd like
Ideally need a simple implementation that wouldn't require the user to do any more setup than adding the interface to their viewmodel (i.e. it would be good if it wasn't required to override ContentPage with a BurkusContentPage etc.).

Describe alternatives you've considered
These events can be manually mapped and passed to the viewmodel today. Or code can be triggered from code-behind.

Proposed APIs

  • OnAppearing()
  • OnDisappearing()

**Additional context**
N/A
@BurkusCat BurkusCat added the enhancement New feature or request label Oct 2, 2023
@BurkusCat BurkusCat assigned BurkusCat and unassigned BurkusCat Oct 3, 2023
@BurkusCat BurkusCat self-assigned this May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant