This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Demo.Extensions; | |
/// <summary> | |
/// Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed. | |
/// </summary> | |
/// <typeparam name="T"></typeparam> | |
public class ObservableRangeCollection<T> : ObservableCollection<T> | |
{ | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Documentation | |
# | |
# Set the vX.X.X-X tag (vMAJOR.MINOR.PATCH-BUILD_NUMBER) | |
# Install the Mobile Versioning in your Azure workspace https://marketplace.visualstudio.com/items?itemName=DamienAicheh.mobile-versioning-task | |
# | |
parameters: | |
- name: environment | |
displayName: Select an Environment | |
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Documentation | |
# | |
# Set the vX.X.X-X tag (vMAJOR.MINOR.PATCH-BUILD_NUMBER) to trigger the pipeline | |
# Install the Mobile Versioning in your Azure workspace https://marketplace.visualstudio.com/items?itemName=DamienAicheh.mobile-versioning-task | |
# | |
parameters: | |
- name: environment | |
displayName: Select an Environment | |
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:ios="clr-namespace:Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific;assembly=Microsoft.Maui.Controls" | |
ios:Page.UseSafeArea="False"> | |
<FlexLayout Direction="Column" | |
HorizontalOptions="FillAndExpand" | |
VerticalOptions="FillAndExpand"> | |
<FlexLayout.Background> | |
<LinearGradientBrush EndPoint="0,1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Firebase.Crashlytics; | |
#if IOS | |
using Foundation; | |
#else | |
using Firebase; | |
#endif | |
namespace DemoApp.Services.Firebase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Maui.Controls.Compatibility; | |
using Firebase.Analytics; | |
#if IOS | |
using Foundation; | |
#else | |
using Android.Content; | |
using Android.OS; | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using CommunityToolkit.Maui.Views; | |
namespace MauiApp.Services.ToolkitPopup; | |
public class PopupService : IPopupService | |
{ | |
readonly Page page = Application.Current?.MainPage ?? throw new NullReferenceException(); | |
private Popup popup { get; set; } | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using Microsoft.Maui.Platform; | |
namespace Demo.Handlers; | |
public partial class ImageTinted : Image | |
{ | |
public ImageTinted() | |
{ | |
ModifyImage(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- For non sim (emulators): $(RuntimeIdentifier.StartsWith('iossimulator-')) --> | |
<!-- For physical devices: $(RuntimeIdentifier.StartsWith('ios-')) --> | |
<PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and '$(Configuration)' == 'Debug' and $(RuntimeIdentifier.StartsWith('ios-'))"> | |
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier> | |
<!-- Remove the following line if entitlements are not required --> | |
<CodesignEntitlement>Entitlements.plist</CodesignEntitlement> | |
<!-- Set the Apple Certificate Key name --> | |
<CodesignKey>Apple Development Key(ABCDEF)</CodesignKey> | |
<!-- Set the Apple Provisioning Profile name --> | |
<CodesignProvision>App Development Profile</CodesignProvision> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<?xaml-comp compile="true" ?> | |
<ResourceDictionary | |
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> | |
<x:String x:Key="FontRegular">NunitoRegular</x:String> | |
<x:String x:Key="FontMedium">NunitoMedium</x:String> | |
<x:String x:Key="FontMediumItalic">NunitoMediumItalic</x:String> | |
<x:String x:Key="FontBold">NunitoBold</x:String> |
NewerOlder