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

ViewModel lifecycle methods have different behavior on each platform #510

Open
wcoder opened this issue Jan 10, 2023 · 0 comments
Open

ViewModel lifecycle methods have different behavior on each platform #510

wcoder opened this issue Jan 10, 2023 · 0 comments
Labels
c/wl Related to WhiteLabel component.

Comments

@wcoder
Copy link
Contributor

wcoder commented Jan 10, 2023

Description

ViewModel lifecycle methods:

/// <summary>
/// Called when the page or UI component corresponding to this ViewModel
/// is appearing on the screen.
/// </summary>
void OnAppearing();
/// <summary>
/// Called when the page or UI component corresponding to this ViewModel
/// is disappearring from the screen.
/// </summary>
void OnDisappearing();

/// <inheritdoc/>
public virtual void OnAppearing()
{
}
/// <inheritdoc/>
public virtual void OnDisappearing()
{
}

ViewModel lifecycle methods have different behavior on each platform:

Expected Behavior

  • iOS:
  • Android:

Actual Behavior

  • iOS:
  • Android:
@wcoder wcoder added the c/wl Related to WhiteLabel component. label Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/wl Related to WhiteLabel component.
Projects
None yet
Development

No branches or pull requests

1 participant