Uno: [Documentation] Application lifecycle for an Uno app

Created on 5 Nov 2020  路  2Comments  路  Source: unoplatform/uno

What would you like clarification on:

Application lifecycle for an Uno app

Concern?

  • [X] Lifecycle

For which Platform:

  • [X] All

Anything else we need to know?

Some relevant files:
https://github.com/unoplatform/uno/blob/master/src/Uno.UI/UI/Xaml/ApplicationActivity.Android.cs
https://github.com/unoplatform/uno/blob/master/src/Uno.UI/UI/Xaml/Controls/Page/NativePage.Android.cs

projecdocumentation

Most helpful comment

User question: "What happens when we hit the back button on Android and put the app "in background" and then "resume" it. How does exactly Uno handles it?"

All 2 comments

User question: "What happens when we hit the back button on Android and put the app "in background" and then "resume" it. How does exactly Uno handles it?"

How resume is handled is pretty important to understand and needs to be understood for developers to handle it correctly. I've noticed Uno does not handle this correctly in all cases on Android for example. (The Uno Calc button presses stop inputting values after resuming the app sometimes)

Was this page helpful?
0 / 5 - 0 ratings