Viewmodels are now maintained throughout the app lifecycle
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Aurora.Design.Views
|
||||
{
|
||||
@ -10,6 +11,13 @@ namespace Aurora.Design.Views
|
||||
{
|
||||
}
|
||||
|
||||
#region Lifecycle
|
||||
public virtual void OnActive() { }
|
||||
|
||||
public virtual void OnInactive() { }
|
||||
|
||||
#endregion
|
||||
|
||||
#region INotifyPropertyChanged Implementation
|
||||
public bool SetProperty<T>(ref T storage, T value, [CallerMemberName] string propertyName = null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user