Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
SubscriptionRequestPopup.cs
1using System.Threading.Tasks;
2
4{
8 public partial class SubscriptionRequestPopup : BasePopup
9 {
10 private readonly SubscriptionRequestViewModel viewModel;
11
13 {
14 this.InitializeComponent();
15 this.viewModel = viewModel;
16 this.BindingContext = viewModel;
17 }
18
19 public override Task OnDisappearingAsync()
20 {
21 this.viewModel.Close();
22 return base.OnDisappearingAsync();
23 }
24 }
25}
Compatibility wrapper so old Mopups based popups work using the new popup infrastructure.
Definition: BasePopup.cs:10
Prompts the user for a response of a presence subscription request.
override Task OnDisappearingAsync()
Method called when view is disappearing from the screen.