1 write to Activity
Microsoft.Maui.Controls.Compatibility (1)
Android\PopupManager.cs (1)
53
Activity
= context;
23 references to Activity
Microsoft.Maui.Controls.Compatibility (23)
Android\PopupManager.cs (23)
23
if (s_subscriptions.Any(s => s.
Activity
== context))
33
var toRemove = s_subscriptions.Where(s => s.
Activity
== context).ToList();
43
s_subscriptions.FirstOrDefault(s => s.
Activity
== context)?.ResetBusyCount();
54
MessagingCenter.Subscribe<Page, bool>(
Activity
, Page.BusySetSignalName, OnPageBusy);
55
MessagingCenter.Subscribe<Page, AlertArguments>(
Activity
, Page.AlertSignalName, OnAlertRequested);
56
MessagingCenter.Subscribe<Page, PromptArguments>(
Activity
, Page.PromptSignalName, OnPromptRequested);
57
MessagingCenter.Subscribe<Page, ActionSheetArguments>(
Activity
, Page.ActionSheetSignalName, OnActionSheetRequested);
64
MessagingCenter.Unsubscribe<Page, bool>(
Activity
, Page.BusySetSignalName);
65
MessagingCenter.Unsubscribe<Page, AlertArguments>(
Activity
, Page.AlertSignalName);
66
MessagingCenter.Unsubscribe<Page, PromptArguments>(
Activity
, Page.PromptSignalName);
67
MessagingCenter.Unsubscribe<Page, ActionSheetArguments>(
Activity
, Page.ActionSheetSignalName);
96
var builder = new DialogBuilder(
Activity
);
140
var alert = new DialogBuilder(
Activity
).Create();
201
var alertDialog = new DialogBuilder(
Activity
).Create();
205
var frameLayout = new FrameLayout(
Activity
);
206
var editText = new EditText(
Activity
) { Hint = arguments.Placeholder, Text = arguments.InitialValue };
209
LeftMargin = (int)(22 *
Activity
.Resources.DisplayMetrics.Density),
210
RightMargin = (int)(22 *
Activity
.Resources.DisplayMetrics.Density)
239
Activity
.SetProgressBarIndeterminate(true);
240
Activity
.SetProgressBarIndeterminateVisibility(isBusy);
254
int progressCircularId =
Activity
.Resources.GetIdentifier("progress_circular", "id", "android");
256
_supportsProgress =
Activity
.FindViewById(progressCircularId) != null;
272
return renderer.View.Context.Equals(
Activity
);