Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
RemoveSubscriptionPopup.cs
1using System.Threading.Tasks;
2
4{
8 public partial class RemoveSubscriptionPopup : BasePopup
9 {
10 private readonly RemoveSubscriptionViewModel viewModel;
11
17 {
18 this.InitializeComponent();
19 this.BindingContext = this.viewModel = ViewModel;
20 }
21
23 public override Task OnDisappearingAsync()
24 {
25 this.viewModel.Close();
26 return base.OnDisappearingAsync();
27 }
28 }
29}
Compatibility wrapper so old Mopups based popups work using the new popup infrastructure.
Definition: BasePopup.cs:10
Asks the user if it wants to remove an existing presence subscription request as well.
RemoveSubscriptionPopup(RemoveSubscriptionViewModel ViewModel)
Asks the user if it wants to remove an existing presence subscription request as well.
override Task OnDisappearingAsync()
Method called when view is disappearing from the screen.