First pass at events almost buttoned up.
The goal is to get the members list to update when new users enter and leave the party.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Specialized;
|
||||
using Xamarin.Forms;
|
||||
using Aurora.Proto;
|
||||
using Aurora.Proto.Party;
|
||||
|
||||
namespace Aurora.Design.Components.MemberList
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using Aurora.Executors;
|
||||
using Aurora.Proto;
|
||||
using Aurora.Proto.Party;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace Aurora.Design.Views.Party
|
||||
@ -32,6 +32,15 @@ namespace Aurora.Design.Views.Party
|
||||
|
||||
State(PartyState.SelectingHost);
|
||||
}
|
||||
|
||||
~PartyViewModel()
|
||||
{
|
||||
if (_executor != null)
|
||||
{
|
||||
_executor.Close();
|
||||
}
|
||||
}
|
||||
|
||||
#region Properties
|
||||
|
||||
public ObservableCollection<PartyMember> Members
|
||||
|
Reference in New Issue
Block a user