void AboutFragment_Click(object sender, EventArgs e) { Activity a = Activity; if (a is ExamplesActivity) { ExamplesActivity examplesActivity = (ExamplesActivity)a; examplesActivity.UpdateContent(SandboxFragment.SETTINGS_URI); } }
public SettingsChangedListener(ExamplesActivity outerInstance) { this.OuterInstance = outerInstance; if (!InstanceFieldsInitialized) { MDensity = OuterInstance.Resources.DisplayMetrics.Density; InitializeInstanceFields(); InstanceFieldsInitialized = true; } }