Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ReportOrBlockPopup.cs
1using System.Threading.Tasks;
2
4{
8 public partial class ReportOrBlockPopup : BasePopup
9 {
10 private readonly ReportOrBlockViewModel viewModel;
11
16 {
17 this.InitializeComponent();
18 this.BindingContext = this.viewModel = ViewModel;
19 }
20
22 public override Task OnDisappearingAsync()
23 {
24 this.viewModel.Close();
25 return base.OnDisappearingAsync();
26 }
27 }
28}
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.
ReportOrBlockPopup(ReportOrBlockViewModel ViewModel)
Prompts the user for a response of a presence subscription request.