├── .gitignore
├── AndroidPermissions
├── AndroidPermissions.sln
├── AndroidPermissions.userprefs
├── AndroidPermissions
│ ├── AndroidPermissions.csproj
│ ├── App.cs
│ ├── IPermissions.cs
│ ├── PermissionObject.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── Archive.zip
├── Droid
│ ├── AndroidPermissions.Droid.csproj
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── MainActivity.cs
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable-hdpi
│ │ │ └── icon.png
│ │ ├── drawable-xhdpi
│ │ │ └── icon.png
│ │ ├── drawable-xxhdpi
│ │ │ └── icon.png
│ │ ├── drawable
│ │ │ └── icon.png
│ │ ├── layout
│ │ │ └── Main.axml
│ │ └── values
│ │ │ └── style.xml
│ ├── SetPermissions.cs
│ └── packages.config
└── packages
│ └── repositories.config
├── DeviceEncryption
├── Android
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── DeviceEncryption.Android.csproj
│ ├── KeyStoreAccess.cs
│ ├── MainActivity.cs
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable
│ │ │ └── Icon.png
│ │ ├── layout
│ │ │ └── Main.axml
│ │ └── values
│ │ │ └── Strings.xml
│ ├── SecureData.cs
│ └── packages.config
├── Archive.zip
├── DeviceEncryption.sln
├── DeviceEncryption.userprefs
├── DeviceEncryption.v12.suo
├── DeviceEncryption
│ ├── App.cs
│ ├── DeviceEncryption.csproj
│ ├── Encrypt.cs
│ ├── EncryptType.cs
│ ├── ISecure.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── TestPage.cs
│ └── packages.config
├── README.md.txt
├── iOS
│ ├── AppDelegate.cs
│ ├── DeviceEncryption.iOS.csproj
│ ├── Info.plist
│ ├── Main.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── SecureData.cs
│ └── packages.config
└── packages
│ └── repositories.config
├── DeviceTask
├── Archive.zip
├── DeviceTask.iOS
│ ├── AppDelegate.cs
│ ├── DeviceTask.iOS.csproj
│ ├── Entitlements.plist
│ ├── GettingStarted.Xamarin
│ ├── Info.plist
│ ├── Main.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ └── Default-568h@2x.png
│ ├── Service
│ │ └── iOSTasks.cs
│ └── packages.config
├── DeviceTasks.sln
├── DeviceTasks.userprefs
├── DeviceTasks.v12.suo
├── Droid
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── DeviceTask.Droid.csproj
│ ├── LongTask.cs
│ ├── MainActivity.cs
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable-hdpi
│ │ │ └── icon.png
│ │ ├── drawable-xhdpi
│ │ │ └── icon.png
│ │ ├── drawable-xxhdpi
│ │ │ └── icon.png
│ │ └── drawable
│ │ │ └── icon.png
│ ├── Service
│ │ ├── DroidTasks.cs
│ │ ├── TaskBinder.cs
│ │ ├── TaskConnection.cs
│ │ └── TaskService.cs
│ └── packages.config
├── Forms
│ ├── App.cs
│ ├── DeviceTask.csproj
│ ├── IAppTask.cs
│ ├── ILongTask.cs
│ ├── Page1.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Service
│ │ ├── AppTask.cs
│ │ ├── JobResult.cs
│ │ └── LongTask.cs
│ └── packages.config
└── packages
│ └── repositories.config
├── Forms.DropDown
├── Archive.zip
├── DropDown.Droid
│ ├── DropDown.Droid.csproj
│ ├── MainActivity.cs
│ ├── MaterialDropDownRender.cs
│ ├── MyAppCompatSpinner.cs
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── RectBorder.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable-hdpi
│ │ │ ├── about.png
│ │ │ ├── blog.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_pause.png
│ │ │ ├── ic_play.png
│ │ │ ├── ic_share.png
│ │ │ ├── ic_stop.png
│ │ │ ├── refresh.png
│ │ │ └── twitternav.png
│ │ ├── drawable-mdpi
│ │ │ ├── about.png
│ │ │ ├── blog.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_pause.png
│ │ │ ├── ic_play.png
│ │ │ ├── ic_share.png
│ │ │ ├── ic_stop.png
│ │ │ ├── refresh.png
│ │ │ └── twitternav.png
│ │ ├── drawable-xhdpi
│ │ │ ├── about.png
│ │ │ ├── blog.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_pause.png
│ │ │ ├── ic_play.png
│ │ │ ├── ic_share.png
│ │ │ ├── ic_stop.png
│ │ │ ├── refresh.png
│ │ │ └── twitternav.png
│ │ ├── drawable-xxhdpi
│ │ │ ├── about.png
│ │ │ ├── blog.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_pause.png
│ │ │ ├── ic_play.png
│ │ │ ├── ic_share.png
│ │ │ ├── ic_stop.png
│ │ │ ├── refresh.png
│ │ │ └── twitternav.png
│ │ ├── drawable
│ │ │ ├── border.xml
│ │ │ ├── facebook.png
│ │ │ ├── googleplus.png
│ │ │ ├── gradient_spinner.xml
│ │ │ ├── hm.png
│ │ │ ├── hm_full.jpg
│ │ │ ├── instagram.png
│ │ │ ├── ratchet.png
│ │ │ ├── ratchet_full.jpg
│ │ │ ├── scott.png
│ │ │ ├── scott159.png
│ │ │ ├── spinner_arrow.png
│ │ │ ├── spinnerborder.xml
│ │ │ ├── tdl.png
│ │ │ ├── tdl_full.jpg
│ │ │ └── twitter.png
│ │ ├── layout
│ │ │ ├── SpinnerItemLayout.axml
│ │ │ ├── spinner.xml
│ │ │ ├── tabs.axml
│ │ │ └── toolbar.axml
│ │ ├── values-v21
│ │ │ └── styles.xml
│ │ ├── values
│ │ │ ├── Colors.xml
│ │ │ ├── Strings.xml
│ │ │ └── styles.xml
│ │ └── xml
│ │ │ └── wearable_app_desc.xml
│ ├── SpinnerAdapter.cs
│ ├── app.config
│ └── packages.config
├── DropDown.Forms
│ ├── App.cs
│ ├── DropDown.Forms.csproj
│ ├── DropDownPicker.cs
│ ├── DropDownTapArgs.cs
│ ├── Page1.cs
│ ├── Page2.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── DropDown.iOS.Control
│ ├── DropDown.iOS.Control.csproj
│ ├── DropDownControl.cs
│ ├── DropDownView.cs
│ ├── EXT
│ │ ├── LinqExtensions.cs
│ │ └── UIViewExtensions.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── Table
│ │ ├── DropDownCell.cs
│ │ ├── DropDownSource.cs
│ │ └── DropDownTable.cs
├── DropDown.iOS
│ ├── AppDelegate.cs
│ ├── DropDown.iOS.csproj
│ ├── DropDownViewRenderer.cs
│ ├── Entitlements.plist
│ ├── Info.plist
│ ├── Main.cs
│ ├── Resources
│ │ ├── Images.xcassets
│ │ │ └── AppIcons.appiconset
│ │ │ │ └── Contents.json
│ │ └── LaunchScreen.xib
│ └── packages.config
├── Forms.DropDown.sln
├── Forms.DropDown.userprefs
├── Test.DropDown.userprefs
└── packages
│ └── repositories.config
├── Forms.DropDown2
├── Archive.zip
├── DropDown.Droid
│ ├── DropDown.Droid.csproj
│ ├── MainActivity.cs
│ ├── MaterialDropDownRender.cs
│ ├── MyAppCompatSpinner.cs
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── RectBorder.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable-hdpi
│ │ │ ├── about.png
│ │ │ ├── blog.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_pause.png
│ │ │ ├── ic_play.png
│ │ │ ├── ic_share.png
│ │ │ ├── ic_stop.png
│ │ │ ├── refresh.png
│ │ │ └── twitternav.png
│ │ ├── drawable-mdpi
│ │ │ ├── about.png
│ │ │ ├── blog.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_pause.png
│ │ │ ├── ic_play.png
│ │ │ ├── ic_share.png
│ │ │ ├── ic_stop.png
│ │ │ ├── refresh.png
│ │ │ └── twitternav.png
│ │ ├── drawable-xhdpi
│ │ │ ├── about.png
│ │ │ ├── blog.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_pause.png
│ │ │ ├── ic_play.png
│ │ │ ├── ic_share.png
│ │ │ ├── ic_stop.png
│ │ │ ├── refresh.png
│ │ │ └── twitternav.png
│ │ ├── drawable-xxhdpi
│ │ │ ├── about.png
│ │ │ ├── blog.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_pause.png
│ │ │ ├── ic_play.png
│ │ │ ├── ic_share.png
│ │ │ ├── ic_stop.png
│ │ │ ├── refresh.png
│ │ │ └── twitternav.png
│ │ ├── drawable
│ │ │ ├── border.xml
│ │ │ ├── facebook.png
│ │ │ ├── googleplus.png
│ │ │ ├── gradient_spinner.xml
│ │ │ ├── hm.png
│ │ │ ├── hm_full.jpg
│ │ │ ├── instagram.png
│ │ │ ├── ratchet.png
│ │ │ ├── ratchet_full.jpg
│ │ │ ├── scott.png
│ │ │ ├── scott159.png
│ │ │ ├── spinner_arrow.png
│ │ │ ├── spinnerborder.xml
│ │ │ ├── tdl.png
│ │ │ ├── tdl_full.jpg
│ │ │ └── twitter.png
│ │ ├── layout
│ │ │ ├── SpinnerItemLayout.axml
│ │ │ ├── spinner.xml
│ │ │ ├── tabs.axml
│ │ │ └── toolbar.axml
│ │ ├── values-v21
│ │ │ └── styles.xml
│ │ ├── values
│ │ │ ├── Colors.xml
│ │ │ ├── Strings.xml
│ │ │ └── styles.xml
│ │ └── xml
│ │ │ └── wearable_app_desc.xml
│ ├── SpinnerAdapter.cs
│ ├── app.config
│ └── packages.config
├── DropDown.Forms
│ ├── App.cs
│ ├── DropDown.Forms.csproj
│ ├── DropDownPicker.cs
│ ├── DropDownTapArgs.cs
│ ├── Page1.cs
│ ├── Page2.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── DropDown.iOS.Control
│ ├── DropDown.iOS.Control.csproj
│ ├── DropDownControl.cs
│ ├── DropDownView.cs
│ ├── EXT
│ │ ├── LinqExtensions.cs
│ │ └── UIViewExtensions.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── Table
│ │ ├── DropDownCell.cs
│ │ ├── DropDownSource.cs
│ │ └── DropDownTable.cs
├── DropDown.iOS
│ ├── AppDelegate.cs
│ ├── DropDown.iOS.csproj
│ ├── DropDownViewRenderer.cs
│ ├── Entitlements.plist
│ ├── Info.plist
│ ├── Main.cs
│ ├── Resources
│ │ ├── Images.xcassets
│ │ │ └── AppIcons.appiconset
│ │ │ │ └── Contents.json
│ │ └── LaunchScreen.xib
│ └── packages.config
├── Forms.DropDown.sln
└── packages
│ └── repositories.config
├── FrameBorder
├── Archive.zip
├── Droid
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── FrameBorder.Droid.csproj
│ ├── MainActivity.cs
│ ├── MyFrameRenderer.cs
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable-hdpi
│ │ │ └── icon.png
│ │ ├── drawable-xhdpi
│ │ │ └── icon.png
│ │ ├── drawable-xxhdpi
│ │ │ └── icon.png
│ │ ├── drawable
│ │ │ └── FrameBorder1.xml
│ │ └── layout
│ │ │ └── test1.axml
│ └── packages.config
├── FrameBorder.sln
├── FrameBorder
│ ├── App.cs
│ ├── Controls
│ │ └── MyFrame.cs
│ ├── FrameBorder.csproj
│ ├── FrameInXaml.xaml
│ ├── FrameInXaml.xaml.cs
│ ├── FrameTest.cs
│ ├── Library
│ │ ├── FrameRect.cs
│ │ ├── FrameRectConverter.cs
│ │ └── StrokeType.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── TestPush.xaml
│ └── TestPush.xaml.cs
├── iOS
│ ├── AppDelegate.cs
│ ├── Control
│ │ └── FrameView.cs
│ ├── Entitlements.plist
│ ├── FrameBorder.iOS.csproj
│ ├── Info.plist
│ ├── Main.cs
│ ├── MyFrameRenderer.cs
│ ├── Resources
│ │ ├── Images.xcassets
│ │ │ └── AppIcons.appiconset
│ │ │ │ └── Contents.json
│ │ └── LaunchScreen.xib
│ └── packages.config
└── packages
│ └── repositories.config
├── LoadingViews
├── Archive.zip
├── LoadingOverlays.sln
├── LoadingOverlays.suo
├── LoadingOverlays.userprefs
├── LoadingOverlays.v12.suo
├── Mobile.userprefs
├── Mobile
│ ├── Mobile.Droid
│ │ ├── MainActivity.cs
│ │ ├── Overlays
│ │ │ ├── BlankFragment.cs
│ │ │ ├── DisabledFragment.cs
│ │ │ ├── LoadingFragment.cs
│ │ │ └── OverLayFragments.cs
│ │ ├── Properties
│ │ │ ├── AndroidManifest.xml
│ │ │ └── AssemblyInfo.cs
│ │ ├── Resources
│ │ │ ├── AboutResources.txt
│ │ │ ├── Resource.designer.cs
│ │ │ ├── drawable
│ │ │ │ └── Icon.png
│ │ │ ├── layout
│ │ │ │ ├── BlankLayout.axml
│ │ │ │ ├── DisabledLayout.axml
│ │ │ │ └── LoadingLayout.axml
│ │ │ └── values
│ │ │ │ └── Strings.xml
│ │ ├── ShowOverlay.cs
│ │ ├── app.config
│ │ ├── mobile.droid.csproj
│ │ ├── overlay.mobile.droid.csproj.user
│ │ └── packages.config
│ ├── Mobile.Forms
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Mobile.Forms.Release.csproj.user
│ │ ├── Mobile.Forms.Release.csproj.vspscc
│ │ ├── Overlay
│ │ │ ├── IShowOverLay.cs
│ │ │ └── OverlayDetails.cs
│ │ ├── Page1.xaml
│ │ ├── Page1.xaml.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── TabPage.cs
│ │ ├── TabPages
│ │ │ ├── RegionOfficersPage.xaml
│ │ │ ├── Tab1Page1.xaml
│ │ │ ├── Tab1Page1.xaml.cs
│ │ │ ├── Tab1Page2.xaml
│ │ │ └── Tab1Page2.xaml.cs
│ │ ├── mobile.pages.csproj
│ │ └── packages.config
│ ├── Mobile.IOS
│ │ ├── AppDelegate.cs
│ │ ├── Entitlements.plist
│ │ ├── Info.plist
│ │ ├── Main.cs
│ │ ├── Overlays
│ │ │ ├── BlankView.cs
│ │ │ ├── DisabledView.cs
│ │ │ ├── LoadingView.cs
│ │ │ └── OverlayView.cs
│ │ ├── PSEA.Mobile.IOS.csproj
│ │ ├── PSEA.Mobile.IOS.csproj.user
│ │ ├── PSEA.Mobile.IOS.csproj.vspscc
│ │ ├── ShowOverlay.cs
│ │ ├── mobile.app.ios.csproj
│ │ ├── packages.config
│ │ └── psea.mobile.app.ios.csproj.vspscc
│ ├── Mobile.v12.suo
│ └── Mobile.vssscc
├── package.json
└── packages
│ └── repositories.config
├── MaskValidation - BETA
├── Archive.zip
├── MaskedEdit
│ ├── Android
│ │ ├── Assets
│ │ │ └── AboutAssets.txt
│ │ ├── Controls
│ │ │ └── MyEntryRenderer.cs
│ │ ├── MainActivity.cs
│ │ ├── Masked.Android.csproj
│ │ ├── Properties
│ │ │ ├── AndroidManifest.xml
│ │ │ └── AssemblyInfo.cs
│ │ ├── Resources
│ │ │ ├── AboutResources.txt
│ │ │ ├── Resource.designer.cs
│ │ │ ├── drawable
│ │ │ │ └── Icon.png
│ │ │ ├── layout
│ │ │ │ └── Main.axml
│ │ │ └── values
│ │ │ │ └── Strings.xml
│ │ └── packages.config
│ ├── App.cs
│ ├── Controls
│ │ └── MyEntry.cs
│ ├── GitHub.csproj
│ ├── GitHub.sln
│ ├── GitHub.suo
│ ├── GitHub.userprefs
│ ├── GitHub.v12.suo
│ ├── IOS
│ │ ├── AppDelegate.cs
│ │ ├── Controls
│ │ │ └── MyEntryRenderer.cs
│ │ ├── Info.plist
│ │ ├── Main.cs
│ │ ├── Masked.IOS.csproj
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── packages.config
│ ├── Library
│ │ ├── Exts.cs
│ │ ├── MaskRules.cs
│ │ └── SelectionPoint.cs
│ ├── MaskValidatePage.cs
│ ├── Masked.csproj
│ ├── MyMask.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Validators.cs
│ ├── packages.config
│ └── packages
│ │ └── repositories.config
└── MaskedEditAndroid
│ ├── MaskedEditAndroid.sln
│ ├── MaskedEditAndroid.userprefs
│ ├── MaskedEditAndroid
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── Exts.cs
│ ├── MainActivity.cs
│ ├── Mask
│ │ ├── Control
│ │ │ ├── MaskEdit.cs
│ │ │ └── TextHolder.cs
│ │ ├── MaskProperties.cs
│ │ ├── MaskRules.cs
│ │ └── SelectionPoint.cs
│ ├── MaskedEditAndroid.csproj
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable
│ │ │ └── error1.png
│ │ ├── layout
│ │ │ └── Main.axml
│ │ ├── mipmap-hdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-mdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-xhdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-xxhdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-xxxhdpi
│ │ │ └── Icon.png
│ │ └── values
│ │ │ └── Strings.xml
│ └── packages.config
│ └── packages
│ └── repositories.config
├── MaskedEdit
├── Android
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── Controls
│ │ └── MyEntryRenderer.cs
│ ├── MainActivity.cs
│ ├── Masked.Android.csproj
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable
│ │ │ └── Icon.png
│ │ ├── layout
│ │ │ └── Main.axml
│ │ └── values
│ │ │ └── Strings.xml
│ └── packages.config
├── App.cs
├── Archive.zip
├── Controls
│ └── MyEntry.cs
├── GitHub.csproj
├── GitHub.sln
├── GitHub.suo
├── GitHub.userprefs
├── GitHub.v12.suo
├── IOS
│ ├── AppDelegate.cs
│ ├── Controls
│ │ └── MyEntryRenderer.cs
│ ├── Info.plist
│ ├── Main.cs
│ ├── Masked.IOS.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── Library
│ ├── Exts.cs
│ ├── MaskRules.cs
│ └── SelectionPoint.cs
├── Masked.csproj
├── Masked.sln
├── MyMask.cs
├── Page1.cs
├── Properties
│ └── AssemblyInfo.cs
├── packages.config
├── packages
│ └── repositories.config
└── viewModel
│ └── Page1ViewModel.cs
├── MaskedEditAndroid
├── Archive.zip
├── MaskedEditAndroid.sln
├── MaskedEditAndroid.userprefs
├── MaskedEditAndroid
│ ├── Archive.zip
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── Exts.cs
│ ├── MainActivity.cs
│ ├── Mask
│ │ ├── Control
│ │ │ ├── MaskEdit.cs
│ │ │ └── TextHolder.cs
│ │ ├── MaskProperties.cs
│ │ ├── MaskRules.cs
│ │ └── SelectionPoint.cs
│ ├── MaskedEditAndroid.csproj
│ ├── MaskedEditAndroid.sln
│ ├── MaskedEditAndroid.userprefs
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable
│ │ │ └── error1.png
│ │ ├── layout
│ │ │ └── Main.axml
│ │ ├── mipmap-hdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-mdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-xhdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-xxhdpi
│ │ │ └── Icon.png
│ │ ├── mipmap-xxxhdpi
│ │ │ └── Icon.png
│ │ └── values
│ │ │ └── Strings.xml
│ ├── packages.config
│ └── packages
│ │ └── repositories.config
└── packages
│ └── repositories.config
├── NotificationSample
├── Archive.zip
├── Droid
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── GlobalSettings.cs
│ ├── MainActivity.cs
│ ├── MainApplication.cs
│ ├── NotificationActions.cs
│ ├── NotificationSample.Droid.csproj
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── PushNotificationListener.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable-hdpi
│ │ │ └── icon.png
│ │ ├── drawable-xhdpi
│ │ │ └── icon.png
│ │ ├── drawable-xxhdpi
│ │ │ └── icon.png
│ │ ├── drawable
│ │ │ └── icon.png
│ │ ├── layout
│ │ │ ├── Tabbar.axml
│ │ │ └── Toolbar.axml
│ │ └── values
│ │ │ └── styles.xml
│ ├── SharedPref.cs
│ ├── notificationFormats.txt
│ └── packages.config
├── NotificationSample.sln
├── NotificationSample
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── NotificationSample.csproj
│ ├── NotificationSamplePage.xaml
│ ├── NotificationSamplePage.xaml.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
├── Plugins
│ ├── Notifications
│ │ ├── MyNotification.Plugin.Android
│ │ │ ├── Exceptions
│ │ │ │ └── PushNotificationNotInitializedException.cs
│ │ │ ├── Interfaces
│ │ │ │ ├── IPushListener.cs
│ │ │ │ └── IPushNotification.cs
│ │ │ ├── MyNotification.Plugin.Android.csproj
│ │ │ ├── MyNotificationService.cs
│ │ │ ├── MyPlugConstants.cs
│ │ │ ├── MyPushNotification.cs
│ │ │ ├── NotificationReceivers.cs
│ │ │ ├── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── PushNotificationImpl.cs
│ │ │ ├── PushNotificationService.cs
│ │ │ └── Resources
│ │ │ │ ├── AboutResources.txt
│ │ │ │ ├── Resource.designer.cs
│ │ │ │ └── values
│ │ │ │ └── Strings.xml
│ │ ├── PushNotification.Plugin.iOSUnified
│ │ │ ├── CrossPushNotification.cs
│ │ │ ├── IPushListener.cs
│ │ │ ├── IPushNotification.cs
│ │ │ ├── Properties
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── PushNotification.Plugin.iOSUnified.csproj
│ │ │ ├── PushNotificationImplementation.cs
│ │ │ └── PushNotificationNotInitializedException.cs
│ │ └── readme.txt
│ └── ShortcutBadger
│ │ ├── Implementations
│ │ ├── AdwHomeBadger.cs
│ │ ├── ApexHomeBadger.cs
│ │ ├── AsusHomeLauncher.cs
│ │ ├── DefaultBadger.cs
│ │ ├── LgHomeBadger.cs
│ │ ├── NewHtcHomeBadger.cs
│ │ ├── NovaHomeBadger.cs
│ │ ├── SamsungHomeBadger.cs
│ │ ├── SolidHomeBadger.cs
│ │ ├── SonyHomeBadger.cs
│ │ └── XiaomiHomeBadger.cs
│ │ ├── Infrastructure
│ │ ├── BaseShortcutBadger.cs
│ │ ├── IShortcutBadger.cs
│ │ └── ShortcutBadgeException.cs
│ │ ├── Properties
│ │ └── AssemblyInfo.cs
│ │ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.Designer.cs
│ │ └── Values
│ │ │ └── Strings.xml
│ │ ├── ShortcutBadger.cs
│ │ ├── ShortcutBadger.csproj
│ │ └── github.txt
└── iOS
│ ├── AppDelegate.cs
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ └── Contents.json
│ └── Contents.json
│ ├── Entitlements.plist
│ ├── GlobalSettings.cs
│ ├── Info.plist
│ ├── LaunchScreen.storyboard
│ ├── Main.cs
│ ├── NotificationActions.cs
│ ├── NotificationAlertMessage.cs
│ ├── NotificationSample.iOS.csproj
│ ├── PushNotificationListener.cs
│ ├── SharedPrefs.cs
│ ├── notificationFormats.txt
│ └── packages.config
├── PickerToButton
├── .nuget
│ ├── NuGet.Config
│ ├── NuGet.exe
│ └── NuGet.targets
├── Archive.zip
├── PickerToButton.Droid
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── MainActivity.cs
│ ├── MyPickerViewRenderer.cs
│ ├── PickerRender.cs
│ ├── PickerToButton.Droid.csproj
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.Designer.cs
│ │ ├── drawable-hdpi
│ │ │ └── icon.png
│ │ ├── drawable-xhdpi
│ │ │ └── icon.png
│ │ ├── drawable-xxhdpi
│ │ │ └── icon.png
│ │ └── drawable
│ │ │ └── icon.png
│ └── packages.config
├── PickerToButton.iOS
│ ├── AppDelegate.cs
│ ├── Entitlements.plist
│ ├── Info.plist
│ ├── Main.cs
│ ├── MyPickerViewRenderer.cs
│ ├── PickerRender.cs
│ ├── PickerToButton.iOS.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-Portrait.png
│ │ ├── Default-Portrait@2x.png
│ │ ├── Default.png
│ │ ├── Default@2x.png
│ │ ├── Icon-60@2x.png
│ │ ├── Icon-60@3x.png
│ │ ├── Icon-76.png
│ │ ├── Icon-76@2x.png
│ │ ├── Icon-Small-40.png
│ │ ├── Icon-Small-40@2x.png
│ │ ├── Icon-Small-40@3x.png
│ │ ├── Icon-Small.png
│ │ ├── Icon-Small@2x.png
│ │ ├── Icon-Small@3x.png
│ │ └── LaunchScreen.storyboard
│ ├── iTunesArtwork
│ ├── iTunesArtwork@2x
│ └── packages.config
├── PickerToButton.sln
├── PickerToButton.userprefs
├── PickerToButton.v11.suo
├── PickerToButton.v12.suo
├── PickerToButton
│ ├── App.cs
│ ├── MyPicker.cs
│ ├── MyPickerView.cs
│ ├── Page1.cs
│ ├── PickerToButton.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── packages.config
└── packages
│ └── repositories.config
├── README.md
├── TopAlert
├── Archive.zip
├── Droid
│ ├── Assets
│ │ └── AboutAssets.txt
│ ├── MainActivity.cs
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Resource.designer.cs
│ │ ├── drawable-hdpi
│ │ │ └── icon.png
│ │ ├── drawable-xhdpi
│ │ │ └── icon.png
│ │ ├── drawable-xxhdpi
│ │ │ └── icon.png
│ │ ├── drawable
│ │ │ ├── alertborder.xml
│ │ │ └── icon.png
│ │ ├── layout
│ │ │ └── AlertBox.axml
│ │ └── values
│ │ │ └── styles.xml
│ ├── TopAlert.Droid.csproj
│ ├── TopAlertRenderer.cs
│ ├── TopAlertView.cs
│ └── packages.config
├── TopAlert.sln
├── TopAlert.userprefs
├── TopAlert
│ ├── AlertPage.cs
│ ├── App.cs
│ ├── ITopAlert.cs
│ ├── Library
│ │ └── TopAlert.cs
│ ├── LinqExtensions.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── TopAlert.csproj
│ └── packages.config
├── iOS
│ ├── AppDelegate.cs
│ ├── Entitlements.plist
│ ├── ITunesArtwork
│ ├── ITunesArtwork@2x
│ ├── Info.plist
│ ├── Main.cs
│ ├── Resources
│ │ ├── Default-568h@2x.png
│ │ ├── Default-Portrait.png
│ │ ├── Default-Portrait@2x.png
│ │ ├── Default.png
│ │ ├── Default@2x.png
│ │ ├── Icon-60@2x.png
│ │ ├── Icon-60@3x.png
│ │ ├── Icon-76.png
│ │ ├── Icon-76@2x.png
│ │ ├── Icon-Small-40.png
│ │ ├── Icon-Small-40@2x.png
│ │ ├── Icon-Small-40@3x.png
│ │ ├── Icon-Small.png
│ │ ├── Icon-Small@2x.png
│ │ ├── Icon-Small@3x.png
│ │ └── LaunchScreen.storyboard
│ ├── TopAlert.iOS.csproj
│ ├── TopAlertRenderer.cs
│ └── packages.config
└── packages
│ └── repositories.config
├── VideoPlayer
├── Archive.zip
├── VideoPlayer.Android
│ ├── Controls
│ │ └── MyVideoView.cs
│ ├── MainActivity.cs
│ ├── MyVideoPlayerRenderer.cs
│ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ ├── AboutResources.txt
│ │ ├── Drawable
│ │ │ └── Icon.png
│ │ ├── Resource.Designer.cs
│ │ ├── layout
│ │ │ ├── VideoLayout.axml
│ │ │ └── toolbar.axml
│ │ ├── raw
│ │ │ └── sample.mp4
│ │ └── values
│ │ │ ├── Colors.xml
│ │ │ ├── Strings.xml
│ │ │ └── styles.xml
│ ├── VideoSamples.Droid.csproj
│ └── packages.config
├── VideoPlayer.iOS
│ ├── AppDelegate.cs
│ ├── Controls
│ │ ├── MyMPMoviePlayerController.cs
│ │ └── MyPlayerView.cs
│ ├── Info.plist
│ ├── Main.cs
│ ├── MyVideoPlayerRenderer.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Resources
│ │ └── Icon.png
│ ├── VideoSamples.iOS.csproj
│ ├── packages.config
│ └── sample.m4v
├── VideoPlayer
│ ├── AndroidVideoPlayer.cs
│ ├── App.cs
│ ├── Controls
│ │ └── MyVideoPlayer.cs
│ ├── Docs
│ │ └── WindowFunctions.txt
│ ├── EXT
│ │ └── LinqExtensions.cs
│ ├── Library
│ │ ├── VideoData.cs
│ │ └── VideoState.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── VideoSamples.csproj
│ ├── Views
│ │ └── VideoPlayerView.cs
│ ├── iOSVideoPlayer.cs
│ └── packages.config
├── VideoSamples.sln
├── VideoSamples.userprefs
└── packages
│ └── repositories.config
├── iOSMarqueeLabel
├── .vs
│ └── MarqueeTest
│ │ └── v14
│ │ └── .suo
├── Archive.zip
├── Forms.iOS
│ ├── AppDelegate.cs
│ ├── Assets.xcassets
│ │ ├── AppIcons.appiconset
│ │ │ └── Contents.json
│ │ └── Contents.json
│ ├── Entitlements.plist
│ ├── Forms.iOS.csproj
│ ├── Info.plist
│ ├── LaunchScreen.storyboard
│ ├── Main.cs
│ ├── iOSMarqeeRenderer.cs
│ └── packages.config
├── FormsApp
│ ├── App.cs
│ ├── FormsApp.csproj
│ ├── FormsApp.sln
│ ├── Page1.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── iOSMarqueeLabel.cs
│ └── packages.config
├── MarqueeBinding
│ ├── ApiDefinition.cs
│ ├── MarqueeBinding.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── StructsAndEnums.cs
│ ├── libMarqueeLabel.a
│ └── libMarqueeLabel.linkwith.cs
├── MarqueeTest.csproj
├── MarqueeTest.sln
├── Native.iOS
│ ├── AppDelegate.cs
│ ├── Assets.xcassets
│ │ ├── AppIcons.appiconset
│ │ │ └── Contents.json
│ │ └── Contents.json
│ ├── Entitlements.plist
│ ├── Info.plist
│ ├── LaunchScreen.storyboard
│ ├── Main.cs
│ ├── Main.storyboard
│ ├── NativeiOS.csproj
│ ├── ViewController.cs
│ └── ViewController.designer.cs
├── packages.config
└── packages
│ └── repositories.config
└── iOSMaskedEdit
├── Archive.zip
├── iOSMaskedEdit.sln
├── iOSMaskedEdit.userprefs
└── iOSMaskedEdit
├── AppDelegate.cs
├── Entitlements.plist
├── Exts.cs
├── Info.plist
├── Main.cs
├── Main.storyboard
├── Mask
├── Control
│ ├── MaskEdit.cs
│ ├── MaskEdit.designer.cs
│ └── TextHolder.cs
├── MaskProperties.cs
├── MaskRules.cs
└── SelectionPoint.cs
├── Resources
├── Images.xcassets
│ └── AppIcons.appiconset
│ │ └── Contents.json
└── LaunchScreen.xib
├── ViewController.cs
├── ViewController.designer.cs
└── iOSMaskedEdit.csproj
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | *.xbf
3 |
4 | *.dll
5 |
6 | *.nupkg
7 |
8 | *.targets
9 |
10 | *.userprefs
11 |
12 | *.mdb
13 |
14 | *.dll
15 |
16 | *.dll
17 | NotificationSample/.DS_Store
18 | NotificationSample/Droid/.DS_Store
19 | NotificationSample/Plugins/ShortcutBadger/.DS_Store
20 | NotificationSample/Plugins/Notifications/PushNotification.Plugin.iOSUnified/.DS_Store
21 | NotificationSample/Plugins/Notifications/MyNotification.Plugin.Android/.DS_Store
22 | NotificationSample/Plugins/Notifications/.DS_Store
23 | NotificationSample/packages/.DS_Store
24 | NotificationSample/NotificationSample/.DS_Store
25 | NotificationSample/iOS/.DS_Store
26 | NotificationSample/Plugins/.DS_Store
27 | .DS_Store
28 |
--------------------------------------------------------------------------------
/AndroidPermissions/AndroidPermissions.userprefs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/AndroidPermissions/AndroidPermissions/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/AndroidPermissions/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/AndroidPermissions/Archive.zip
--------------------------------------------------------------------------------
/AndroidPermissions/Droid/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/AndroidPermissions/Droid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/AndroidPermissions/Droid/Resources/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/AndroidPermissions/Droid/Resources/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/AndroidPermissions/Droid/Resources/drawable-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/AndroidPermissions/Droid/Resources/drawable-xhdpi/icon.png
--------------------------------------------------------------------------------
/AndroidPermissions/Droid/Resources/drawable-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/AndroidPermissions/Droid/Resources/drawable-xxhdpi/icon.png
--------------------------------------------------------------------------------
/AndroidPermissions/Droid/Resources/drawable/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/AndroidPermissions/Droid/Resources/drawable/icon.png
--------------------------------------------------------------------------------
/AndroidPermissions/Droid/Resources/layout/Main.axml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/AndroidPermissions/Droid/Resources/values/style.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
--------------------------------------------------------------------------------
/AndroidPermissions/Droid/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/AndroidPermissions/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/DeviceEncryption/Android/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/DeviceEncryption/Android/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Android.App;
3 | using Android.Content;
4 | using Android.Content.PM;
5 | using Android.Runtime;
6 | using Android.Views;
7 | using Android.Widget;
8 | using Android.OS;
9 | using Xamarin.Forms.Platform.Android;
10 |
11 |
12 | namespace DeviceEncryption.Android
13 | {
14 | [Activity (Label = "DeviceEncryption.Android.Android", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
15 | public class MainActivity : FormsApplicationActivity
16 | {
17 | protected override void OnCreate (Bundle bundle)
18 | {
19 | base.OnCreate (bundle);
20 |
21 | Xamarin.Forms.Forms.Init (this, bundle);
22 |
23 | LoadApplication (new App ());
24 | }
25 | }
26 | }
27 |
28 |
--------------------------------------------------------------------------------
/DeviceEncryption/Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/DeviceEncryption/Android/Resources/drawable/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/DeviceEncryption/Android/Resources/drawable/Icon.png
--------------------------------------------------------------------------------
/DeviceEncryption/Android/Resources/layout/Main.axml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/DeviceEncryption/Android/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | DeviceEncryption.Android.Android
5 |
6 |
--------------------------------------------------------------------------------
/DeviceEncryption/Android/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/DeviceEncryption/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/DeviceEncryption/Archive.zip
--------------------------------------------------------------------------------
/DeviceEncryption/DeviceEncryption.userprefs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/DeviceEncryption/DeviceEncryption.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/DeviceEncryption/DeviceEncryption.v12.suo
--------------------------------------------------------------------------------
/DeviceEncryption/DeviceEncryption/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 |
4 | namespace DeviceEncryption
5 | {
6 | public class App : Application
7 | {
8 | public App()
9 | {
10 | this.MainPage = new TestPage ();
11 | }
12 | }
13 | }
14 |
15 |
--------------------------------------------------------------------------------
/DeviceEncryption/DeviceEncryption/Encrypt.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace DeviceEncryption
4 | {
5 | public class Encrypt
6 | {
7 | public object PrivateKey
8 | {
9 | get;
10 | set;
11 | }
12 |
13 | public object PublicKey
14 | {
15 | get;
16 | set;
17 | }
18 |
19 | public object Key
20 | {
21 | get;
22 | set;
23 | }
24 |
25 | public byte[] Value
26 | {
27 | get;
28 | set;
29 | }
30 |
31 | public EncryptType Type { get; set; }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/DeviceEncryption/DeviceEncryption/EncryptType.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | namespace DeviceEncryption
3 | {
4 | public enum EncryptType
5 | {
6 | OK,
7 | STRONG
8 | }
9 | }
10 |
11 |
12 |
--------------------------------------------------------------------------------
/DeviceEncryption/DeviceEncryption/ISecure.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace DeviceEncryption
4 | {
5 | public interface ISecure
6 | {
7 | Encrypt Encode(EncryptType type, string value);
8 | string Decode(Encrypt obj);
9 |
10 | string Get(string key);
11 | bool Delete(string key);
12 | bool Save(string key, string value);
13 | bool Exists(string key);
14 | bool Clear();
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/DeviceEncryption/DeviceEncryption/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DeviceEncryption/iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using MonoTouch.Foundation;
5 | using MonoTouch.UIKit;
6 | using Xamarin.Forms;
7 |
8 | namespace DeviceEncryption.iOS
9 | {
10 | [Register("AppDelegate")]
11 | public partial class AppDelegate : Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
12 | {
13 | public override bool FinishedLaunching (UIApplication app, NSDictionary options)
14 | {
15 | global::Xamarin.Forms.Forms.Init ();
16 |
17 | LoadApplication (new App ());
18 |
19 | return base.FinishedLaunching (app, options);
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/DeviceEncryption/iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using MonoTouch.Foundation;
6 | using MonoTouch.UIKit;
7 |
8 | namespace DeviceEncryption.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/DeviceEncryption/iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DeviceEncryption/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/DeviceTask/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/DeviceTask/Archive.zip
--------------------------------------------------------------------------------
/DeviceTask/DeviceTask.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/DeviceTask/DeviceTask.iOS/GettingStarted.Xamarin:
--------------------------------------------------------------------------------
1 |
2 | GS\iOS\CS\iOSApp\GettingStarted.html
3 | false
4 |
--------------------------------------------------------------------------------
/DeviceTask/DeviceTask.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace DeviceTask.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/DeviceTask/DeviceTask.iOS/Resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/DeviceTask/DeviceTask.iOS/Resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/DeviceTask/DeviceTask.iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DeviceTask/DeviceTasks.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/DeviceTask/DeviceTasks.v12.suo
--------------------------------------------------------------------------------
/DeviceTask/Droid/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/DeviceTask/Droid/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Android.App;
4 | using Android.Content;
5 | using Android.Content.PM;
6 | using Android.Runtime;
7 | using Android.Views;
8 | using Android.Widget;
9 | using Android.OS;
10 |
11 | namespace DeviceTask.Droid
12 | {
13 | [Activity(Label = "DeviceTask.Droid", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
14 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity
15 | {
16 | protected override void OnCreate (Bundle bundle)
17 | {
18 | base.OnCreate (bundle);
19 |
20 | global::Xamarin.Forms.Forms.Init (this, bundle);
21 |
22 | LoadApplication (new App ());
23 | }
24 | }
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/DeviceTask/Droid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/DeviceTask/Droid/Resources/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/DeviceTask/Droid/Resources/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/DeviceTask/Droid/Resources/drawable-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/DeviceTask/Droid/Resources/drawable-xhdpi/icon.png
--------------------------------------------------------------------------------
/DeviceTask/Droid/Resources/drawable-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/DeviceTask/Droid/Resources/drawable-xxhdpi/icon.png
--------------------------------------------------------------------------------
/DeviceTask/Droid/Resources/drawable/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/DeviceTask/Droid/Resources/drawable/icon.png
--------------------------------------------------------------------------------
/DeviceTask/Droid/Service/TaskBinder.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Android.OS;
3 |
4 | namespace DeviceTask.Droid
5 | {
6 | public class TaskBinder : Binder
7 | {
8 | protected TaskService service;
9 | public const string JobEnded = "end";
10 |
11 | public TaskService Service
12 | {
13 | get { return this.service; }
14 | }
15 |
16 |
17 | public bool IsBound { get; set; }
18 |
19 | // constructor
20 | public TaskBinder (TaskService service)
21 | {
22 | this.service = service;
23 | }
24 | }
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/DeviceTask/Droid/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/DeviceTask/Forms/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Xamarin.Forms;
4 | using System.Collections.Generic;
5 |
6 | namespace DeviceTask
7 | {
8 | public class App : Application
9 | {
10 | public App ()
11 | {
12 |
13 |
14 | // The root page of your application
15 | MainPage = new NavigationPage(new Page1());
16 | }
17 |
18 | protected override void OnStart ()
19 | {
20 | // Handle when your app starts
21 | }
22 |
23 | protected override void OnSleep ()
24 | {
25 | // Handle when your app sleeps
26 | }
27 |
28 | protected override void OnResume ()
29 | {
30 | // Handle when your app resumes
31 | }
32 | }
33 | }
34 |
35 |
--------------------------------------------------------------------------------
/DeviceTask/Forms/IAppTask.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 |
4 | namespace DeviceTask
5 | {
6 | public interface IAppTask
7 | {
8 | void RunTask(AppTask task);
9 |
10 | bool IsMainThread();
11 |
12 | string ThreadID ();
13 |
14 | JobResult GetResult (string JobID);
15 | }
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/DeviceTask/Forms/ILongTask.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 |
4 | namespace DeviceTask
5 | {
6 | public interface ILongTask
7 | {
8 | void RunTask(LongTask task);
9 |
10 | bool IsMainThread();
11 |
12 | string ThreadID ();
13 |
14 | JobResult GetResult (string JobID);
15 | }
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/DeviceTask/Forms/Service/JobResult.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace DeviceTask
4 | {
5 | public class JobResult
6 | {
7 | public JobResult ()
8 | {
9 | }
10 |
11 | public string JobID { get; set; }
12 |
13 | public bool HasError { get; set; }
14 |
15 | public bool IsRunning { get; set; }
16 |
17 | public bool OK {
18 | get {
19 | return HasError == false;
20 | }
21 | }
22 | }
23 | }
24 |
25 |
--------------------------------------------------------------------------------
/DeviceTask/Forms/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DeviceTask/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Forms.DropDown/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/Archive.zip
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/about.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/blog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/blog.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/ic_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/ic_pause.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/ic_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/ic_play.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/ic_share.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/ic_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/ic_stop.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/refresh.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/twitternav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-hdpi/twitternav.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/about.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/blog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/blog.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/ic_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/ic_pause.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/ic_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/ic_play.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/ic_share.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/ic_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/ic_stop.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/refresh.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/twitternav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-mdpi/twitternav.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/about.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/blog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/blog.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/ic_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/ic_pause.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/ic_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/ic_play.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/ic_share.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/ic_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/ic_stop.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/refresh.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/twitternav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xhdpi/twitternav.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/about.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/blog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/blog.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/ic_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/ic_pause.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/ic_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/ic_play.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/ic_share.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/ic_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/ic_stop.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/refresh.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/twitternav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable-xxhdpi/twitternav.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
11 | -
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/facebook.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/googleplus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/googleplus.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/gradient_spinner.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
-
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | -
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/hm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/hm.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/hm_full.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/hm_full.jpg
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/instagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/instagram.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/ratchet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/ratchet.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/ratchet_full.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/ratchet_full.jpg
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/scott.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/scott.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/scott159.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/scott159.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/spinner_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/spinner_arrow.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/spinnerborder.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/tdl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/tdl.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/tdl_full.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/tdl_full.jpg
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/drawable/twitter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown/DropDown.Droid/Resources/drawable/twitter.png
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/layout/SpinnerItemLayout.axml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
18 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/layout/tabs.axml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/layout/toolbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
11 |
12 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/values/Colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #03A9F4
4 | #1976D2
5 |
6 | #FFC107
7 | #FFFFFF
8 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | Hanselman.Android
5 |
6 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/Resources/xml/wearable_app_desc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1
4 | 1.0
5 | wearable_app
6 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Droid/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Forms/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | using Xamarin.Forms;
7 |
8 | namespace DropDown.Forms
9 | {
10 | public class App : Application
11 | {
12 | public App ()
13 | {
14 | this.MainPage = new NavigationPage (new Page1 ());
15 | }
16 | }
17 | }
18 |
19 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Forms/DropDownTapArgs.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Xamarin.Forms;
4 |
5 | namespace DropDown.Forms
6 | {
7 | public class DropDownTapArgs
8 | {
9 | public DropDownTapArgs (float x, float y)
10 | {
11 | this.X = x;
12 | this.Y = y;
13 | }
14 |
15 | public float X { get; set; }
16 |
17 | public float Y { get; set; }
18 | }
19 | }
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Forms/Page1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 |
4 | namespace DropDown.Forms
5 | {
6 | public class Page1 : ContentPage
7 | {
8 | private Button _Button1;
9 | public Page1 ()
10 | {
11 | _Button1 = new Button ();
12 | _Button1.Text = "Push Page 2";
13 | _Button1.Command = new Command (async() => {
14 | await Navigation.PushAsync(new Page2());
15 | });
16 | this.Content = new StackLayout {
17 | HorizontalOptions = LayoutOptions.Start,
18 | VerticalOptions = LayoutOptions.Start,
19 | Children = {
20 | new Label
21 | {
22 | Text = "Page1"
23 | },
24 | _Button1,
25 |
26 | }
27 | };
28 | }
29 | }
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.Forms/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.iOS.Control/Table/DropDownCell.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UIKit;
3 |
4 | namespace DropDown.iOS.Control.Table
5 | {
6 | public class DropDownCell : UITableViewCell
7 | {
8 | public DropDownCell (UITableViewCellStyle style, string id) : base(style, id)
9 | {
10 | LayoutMargins = UIEdgeInsets.Zero;
11 | PreservesSuperviewLayoutMargins = false;
12 | SeparatorInset = UIEdgeInsets.Zero;
13 | MultipleTouchEnabled = true;
14 |
15 |
16 | ContentView.ExclusiveTouch = true;
17 | ExclusiveTouch = true;
18 |
19 | }
20 |
21 | public override void LayoutSubviews ()
22 | {
23 | base.LayoutSubviews ();
24 | if (this.Frame.X >= 0) {
25 | this.Frame = new CoreGraphics.CGRect (this.Frame.X - 10, this.Frame.Y, this.Frame.Width + 10, this.Frame.Height);
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using Foundation;
2 | using UIKit;
3 | using DropDown.Forms;
4 |
5 | namespace DropDown.iOS
6 | {
7 | [Register ("AppDelegate")]
8 | public class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
9 | {
10 |
11 | public override bool FinishedLaunching (UIApplication app, NSDictionary options)
12 | {
13 | global::Xamarin.Forms.Forms.Init ();
14 |
15 | LoadApplication (new App ());
16 |
17 | return base.FinishedLaunching (app, options);
18 | }
19 |
20 | }
21 | }
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using UIKit;
2 |
3 | namespace DropDown.iOS
4 | {
5 | public class Application
6 | {
7 | // This is the main entry point of the application.
8 | static void Main (string[] args)
9 | {
10 | // if you want to use a different Application Delegate class from "AppDelegate"
11 | // you can specify it here.
12 | UIApplication.Main (args, null, "AppDelegate");
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Forms.DropDown/DropDown.iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Forms.DropDown/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Forms.DropDown2/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/Archive.zip
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/about.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/blog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/blog.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/ic_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/ic_pause.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/ic_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/ic_play.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/ic_share.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/ic_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/ic_stop.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/refresh.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/twitternav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-hdpi/twitternav.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/about.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/blog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/blog.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/ic_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/ic_pause.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/ic_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/ic_play.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/ic_share.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/ic_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/ic_stop.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/refresh.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/twitternav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-mdpi/twitternav.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/about.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/blog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/blog.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/ic_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/ic_pause.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/ic_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/ic_play.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/ic_share.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/ic_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/ic_stop.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/refresh.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/twitternav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xhdpi/twitternav.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/about.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/blog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/blog.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/ic_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/ic_pause.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/ic_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/ic_play.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/ic_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/ic_share.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/ic_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/ic_stop.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/refresh.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/twitternav.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable-xxhdpi/twitternav.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
11 | -
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/facebook.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/googleplus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/googleplus.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/gradient_spinner.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
-
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | -
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/hm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/hm.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/hm_full.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/hm_full.jpg
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/instagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/instagram.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/ratchet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/ratchet.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/ratchet_full.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/ratchet_full.jpg
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/scott.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/scott.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/scott159.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/scott159.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/spinner_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/spinner_arrow.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/spinnerborder.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/tdl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/tdl.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/tdl_full.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/tdl_full.jpg
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/drawable/twitter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/Forms.DropDown2/DropDown.Droid/Resources/drawable/twitter.png
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/layout/SpinnerItemLayout.axml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
18 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/layout/tabs.axml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/layout/toolbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
11 |
12 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/values/Colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #03A9F4
4 | #1976D2
5 |
6 | #FFC107
7 | #FFFFFF
8 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | Hanselman.Android
5 |
6 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Droid/Resources/xml/wearable_app_desc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 1
4 | 1.0
5 | wearable_app
6 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Forms/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | using Xamarin.Forms;
7 |
8 | namespace DropDown.Forms
9 | {
10 | public class App : Application
11 | {
12 | public App ()
13 | {
14 | this.MainPage = new NavigationPage (new Page1 ());
15 | }
16 | }
17 | }
18 |
19 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Forms/DropDownTapArgs.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Xamarin.Forms;
4 |
5 | namespace DropDown.Forms
6 | {
7 | public class DropDownTapArgs
8 | {
9 | public DropDownTapArgs (float x, float y)
10 | {
11 | this.X = x;
12 | this.Y = y;
13 | }
14 |
15 | public float X { get; set; }
16 |
17 | public float Y { get; set; }
18 | }
19 | }
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Forms/Page1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 |
4 | namespace DropDown.Forms
5 | {
6 | public class Page1 : ContentPage
7 | {
8 | private Button _Button1;
9 | public Page1 ()
10 | {
11 | _Button1 = new Button ();
12 | _Button1.Text = "Push Page 2";
13 | _Button1.Command = new Command (async() => {
14 | await Navigation.PushAsync(new Page2());
15 | });
16 | this.Content = new StackLayout {
17 | HorizontalOptions = LayoutOptions.Start,
18 | VerticalOptions = LayoutOptions.Start,
19 | Children = {
20 | new Label
21 | {
22 | Text = "Page1"
23 | },
24 | _Button1,
25 |
26 | }
27 | };
28 | }
29 | }
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.Forms/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.iOS.Control/Table/DropDownCell.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using UIKit;
3 |
4 | namespace DropDown.iOS.Control.Table
5 | {
6 | public class DropDownCell : UITableViewCell
7 | {
8 | public DropDownCell (UITableViewCellStyle style, string id) : base(style, id)
9 | {
10 | LayoutMargins = UIEdgeInsets.Zero;
11 | PreservesSuperviewLayoutMargins = false;
12 | SeparatorInset = UIEdgeInsets.Zero;
13 | MultipleTouchEnabled = true;
14 |
15 |
16 | ContentView.ExclusiveTouch = true;
17 | ExclusiveTouch = true;
18 |
19 | }
20 |
21 | public override void LayoutSubviews ()
22 | {
23 | base.LayoutSubviews ();
24 | if (this.Frame.X >= 0) {
25 | this.Frame = new CoreGraphics.CGRect (this.Frame.X - 10, this.Frame.Y, this.Frame.Width + 10, this.Frame.Height);
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using Foundation;
2 | using UIKit;
3 | using DropDown.Forms;
4 |
5 | namespace DropDown.iOS
6 | {
7 | [Register ("AppDelegate")]
8 | public class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
9 | {
10 |
11 | public override bool FinishedLaunching (UIApplication app, NSDictionary options)
12 | {
13 | global::Xamarin.Forms.Forms.Init ();
14 |
15 | LoadApplication (new App ());
16 |
17 | return base.FinishedLaunching (app, options);
18 | }
19 |
20 | }
21 | }
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using UIKit;
2 |
3 | namespace DropDown.iOS
4 | {
5 | public class Application
6 | {
7 | // This is the main entry point of the application.
8 | static void Main (string[] args)
9 | {
10 | // if you want to use a different Application Delegate class from "AppDelegate"
11 | // you can specify it here.
12 | UIApplication.Main (args, null, "AppDelegate");
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Forms.DropDown2/DropDown.iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Forms.DropDown2/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/FrameBorder/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/FrameBorder/Archive.zip
--------------------------------------------------------------------------------
/FrameBorder/Droid/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/FrameBorder/Droid/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Android.App;
4 | using Android.Content;
5 | using Android.Content.PM;
6 | using Android.Runtime;
7 | using Android.Views;
8 | using Android.Widget;
9 | using Android.OS;
10 | using Xamarin.Forms;
11 |
12 | namespace FrameBorder.Droid
13 | {
14 | [Activity (Label = "FrameBorder.Droid", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
15 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity
16 | {
17 | protected override void OnCreate (Bundle bundle)
18 | {
19 | base.OnCreate (bundle);
20 |
21 | global::Xamarin.Forms.Forms.Init (this, bundle);
22 |
23 | LoadApplication (new App ());
24 | }
25 | }
26 | }
27 |
28 |
--------------------------------------------------------------------------------
/FrameBorder/Droid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/FrameBorder/Droid/Resources/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/FrameBorder/Droid/Resources/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/FrameBorder/Droid/Resources/drawable-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/FrameBorder/Droid/Resources/drawable-xhdpi/icon.png
--------------------------------------------------------------------------------
/FrameBorder/Droid/Resources/drawable-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/FrameBorder/Droid/Resources/drawable-xxhdpi/icon.png
--------------------------------------------------------------------------------
/FrameBorder/Droid/Resources/layout/test1.axml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/FrameBorder/Droid/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/FrameBorder/FrameBorder/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Xamarin.Forms;
4 |
5 | namespace FrameBorder
6 | {
7 | public class App : Application
8 | {
9 | public App ()
10 | {
11 | // The root page of your application
12 | MainPage = new NavigationPage(new TestPush());
13 | }
14 |
15 | protected override void OnStart ()
16 | {
17 | // Handle when your app starts
18 | }
19 |
20 | protected override void OnSleep ()
21 | {
22 | // Handle when your app sleeps
23 | }
24 |
25 | protected override void OnResume ()
26 | {
27 | // Handle when your app resumes
28 | }
29 | }
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/FrameBorder/FrameBorder/FrameInXaml.xaml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/FrameBorder/FrameBorder/FrameInXaml.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | using Xamarin.Forms;
5 |
6 | namespace FrameBorder
7 | {
8 | public partial class FrameInXaml : ContentPage
9 | {
10 | public FrameInXaml ()
11 | {
12 | InitializeComponent ();
13 | }
14 | }
15 | }
16 |
17 |
--------------------------------------------------------------------------------
/FrameBorder/FrameBorder/Library/StrokeType.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace FrameBorder
4 | {
5 | public enum StrokeType{
6 | Solid,
7 |
8 | Dotted,
9 |
10 | Dashed
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/FrameBorder/FrameBorder/TestPush.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/FrameBorder/FrameBorder/TestPush.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | using Xamarin.Forms;
5 |
6 | namespace FrameBorder
7 | {
8 | public partial class TestPush : ContentPage
9 | {
10 | public TestPush ()
11 | {
12 | InitializeComponent ();
13 | }
14 |
15 | protected async void ButtonClicked(object sender, EventArgs e)
16 | {
17 | await Navigation.PushAsync (new FrameTest ());
18 | }
19 | }
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/FrameBorder/iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 | using Xamarin.Forms;
8 |
9 | namespace FrameBorder.iOS
10 | {
11 | [Register ("AppDelegate")]
12 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
13 | {
14 | public override bool FinishedLaunching (UIApplication app, NSDictionary options)
15 | {
16 | global::Xamarin.Forms.Forms.Init ();
17 |
18 | LoadApplication (new App ());
19 |
20 | return base.FinishedLaunching (app, options);
21 | }
22 | }
23 | }
24 |
25 |
--------------------------------------------------------------------------------
/FrameBorder/iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/FrameBorder/iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace FrameBorder.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main (string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main (args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/FrameBorder/iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/FrameBorder/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/LoadingViews/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/LoadingViews/Archive.zip
--------------------------------------------------------------------------------
/LoadingViews/LoadingOverlays.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/LoadingViews/LoadingOverlays.suo
--------------------------------------------------------------------------------
/LoadingViews/LoadingOverlays.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/LoadingViews/LoadingOverlays.v12.suo
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Droid/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using Android.App;
2 | using Android.Content.PM;
3 | using Android.OS;
4 | using System;
5 | using Xamarin.Forms.Platform.Android;
6 |
7 | namespace OverLay.Mobile.Droid
8 | {
9 | [Activity(Label = "OverLay1", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
10 | public class MainActivity : FormsApplicationActivity
11 | {
12 |
13 | protected override void OnCreate (Bundle savedInstanceState)
14 | {
15 | base.OnCreate (savedInstanceState);
16 |
17 |
18 | Xamarin.Forms.Forms.Init (this, savedInstanceState);
19 |
20 | LoadApplication (new mobile.pages.App());
21 | }
22 | }
23 | }
24 |
25 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Droid/Resources/drawable/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/LoadingViews/Mobile/Mobile.Droid/Resources/drawable/Icon.png
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Droid/Resources/layout/BlankLayout.axml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Droid/Resources/layout/LoadingLayout.axml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
16 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Droid/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | OverLay1
4 | 1
5 | 1.0
6 |
7 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Droid/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Droid/overlay.mobile.droid.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ShowAllFiles
5 |
6 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Forms/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Forms/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Threading.Tasks;
5 | using System.Linq;
6 |
7 | namespace mobile.pages
8 | {
9 | public partial class App : Application
10 | {
11 | public App ()
12 | {
13 | InitializeComponent ();
14 | this.MainPage = new NavigationPage (new Page1 ());
15 | }
16 |
17 | }
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Forms/Mobile.Forms.Release.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ShowAllFiles
5 |
6 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Forms/Mobile.Forms.Release.csproj.vspscc:
--------------------------------------------------------------------------------
1 | ""
2 | {
3 | "FILE_VERSION" = "9237"
4 | "ENLISTMENT_CHOICE" = "NEVER"
5 | "PROJECT_FILE_RELATIVE_PATH" = ""
6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Forms/TabPage.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 |
4 | namespace mobile.pages
5 | {
6 | public class TabPage : TabbedPage
7 | {
8 | public TabPage ()
9 | {
10 | this.Children.Add (new Tab1Page1());
11 | this.Children.Add (new Tab1Page2());
12 | }
13 |
14 | protected override void OnDisappearing ()
15 | {
16 | base.OnDisappearing ();
17 | }
18 |
19 | protected override void OnAppearing ()
20 | {
21 | base.OnAppearing ();
22 | }
23 | }
24 | }
25 |
26 |
27 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.Forms/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.IOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using Foundation;
5 | using UIKit;
6 | using Xamarin.Forms;
7 | using mobile.pages;
8 |
9 | namespace mobile.app.ios
10 | {
11 | [Register("AppDelegate")]
12 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
13 | {
14 | public override bool FinishedLaunching(UIApplication app, NSDictionary options)
15 | {
16 | global::Xamarin.Forms.Forms.Init ();
17 |
18 | LoadApplication (new App());
19 | return base.FinishedLaunching (app, options);
20 | }
21 | }
22 | }
23 |
24 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.IOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.IOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using Foundation;
5 | using UIKit;
6 |
7 | namespace mobile.app.ios
8 | {
9 | public class Application
10 | {
11 | public static void Main(string[] args)
12 | {
13 | UIApplication.Main(args, null, "AppDelegate");
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.IOS/PSEA.Mobile.IOS.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ShowAllFiles
5 |
6 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.IOS/PSEA.Mobile.IOS.csproj.vspscc:
--------------------------------------------------------------------------------
1 | ""
2 | {
3 | "FILE_VERSION" = "9237"
4 | "ENLISTMENT_CHOICE" = "NEVER"
5 | "PROJECT_FILE_RELATIVE_PATH" = ""
6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.IOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.IOS/psea.mobile.app.ios.csproj.vspscc:
--------------------------------------------------------------------------------
1 | ""
2 | {
3 | "FILE_VERSION" = "9237"
4 | "ENLISTMENT_CHOICE" = "NEVER"
5 | "PROJECT_FILE_RELATIVE_PATH" = ""
6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
10 | }
11 |
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/LoadingViews/Mobile/Mobile.v12.suo
--------------------------------------------------------------------------------
/LoadingViews/Mobile/Mobile.vssscc:
--------------------------------------------------------------------------------
1 | ""
2 | {
3 | "FILE_VERSION" = "9237"
4 | "ENLISTMENT_CHOICE" = "NEVER"
5 | "PROJECT_FILE_RELATIVE_PATH" = ""
6 | "NUMBER_OF_EXCLUDED_FILES" = "0"
7 | "ORIGINAL_PROJECT_FILE_PATH" = ""
8 | "NUMBER_OF_NESTED_PROJECTS" = "0"
9 | "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROJECT"
10 | }
11 |
--------------------------------------------------------------------------------
/LoadingViews/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "someProj",
3 | "version": "0.0.0",
4 | "description": "",
5 | "scripts": { },
6 | "author": "",
7 | "license": ""
8 | }
9 |
--------------------------------------------------------------------------------
/LoadingViews/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskValidation - BETA/Archive.zip
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/Android/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/Android/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Android.App;
3 | using Android.Content;
4 | using Android.Content.PM;
5 | using Android.Runtime;
6 | using Android.Views;
7 | using Android.Widget;
8 | using Android.OS;
9 | using Xamarin.Forms.Platform.Android;
10 | using Java.Text;
11 |
12 |
13 | namespace Masked.Android
14 | {
15 | [Activity(Label = "Masked.Android", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
16 | public class MainActivity : Xamarin.Forms.Platform.Android.FormsApplicationActivity
17 | {
18 | protected override void OnCreate (Bundle bundle)
19 | {
20 | base.OnCreate (bundle);
21 |
22 | Xamarin.Forms.Forms.Init (this, bundle);
23 |
24 | LoadApplication (new App ());
25 | }
26 | }
27 | }
28 |
29 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/Android/Resources/drawable/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskValidation - BETA/MaskedEdit/Android/Resources/drawable/Icon.png
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/Android/Resources/layout/Main.axml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/Android/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | GitHub.Android.Android
5 |
6 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/Android/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 |
4 | namespace Masked
5 | {
6 | public class App : Application
7 | {
8 | public App()
9 | {
10 | // mask with validation
11 | /* alpha testing */
12 | this.MainPage = new NavigationPage (new MaskValidatePage ());
13 |
14 |
15 | //this.MainPage = new NavigationPage (new MyMask ());
16 | }
17 | }
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/GitHub.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskValidation - BETA/MaskedEdit/GitHub.suo
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/GitHub.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskValidation - BETA/MaskedEdit/GitHub.v12.suo
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/IOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using MonoTouch.Foundation;
6 | using MonoTouch.UIKit;
7 |
8 | namespace App1.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/IOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/Library/Exts.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 | using System.Threading;
4 |
5 | namespace Masked.Library
6 | {
7 | public static class Exts
8 | {
9 | public static string Replace(this string s, char[] separators, string newVal)
10 | {
11 | return String.Join(newVal, s.Split(separators, StringSplitOptions.RemoveEmptyEntries));
12 | }
13 | }
14 | }
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/Library/MaskRules.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace Masked.Library
5 | {
6 | public class MaskRules
7 | {
8 | ///
9 | /// start Position of Mask
10 | ///
11 | /// The start.
12 | public Int16 Start { get; set; }
13 |
14 | ///
15 | /// End Position of Mask
16 | ///
17 | /// The end.
18 | public Int16 End { get; set; }
19 |
20 | ///
21 | /// Mask, see examples
22 | ///
23 | /// The mask.
24 | public string Mask { get; set; }
25 |
26 | public List Rules { get; set; }
27 | }
28 | }
29 |
30 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/Validators.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 |
4 | namespace Masked
5 | {
6 | public enum Validators
7 | {
8 | MAX,
9 | ONLYCHARS,
10 | STARTC,
11 | ENDC
12 | }
13 |
14 | public class Validation
15 | {
16 | public Validation(Validators op, string arg, string error)
17 | {
18 | this.Operation = op;
19 | this.Arg = arg;
20 | this.ErrorMessage = error;
21 | }
22 |
23 | public Validators Operation { get; set; }
24 |
25 | public string Arg { get; set; }
26 |
27 | public string ErrorMessage { get; set; }
28 |
29 | public bool CaseCheck { get; set; }
30 |
31 | public Int32 ArgAsInt {
32 | get {
33 | return Convert.ToInt32 (Arg);
34 | }
35 | }
36 | }
37 | }
38 |
39 |
40 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEdit/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Exts.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MaskedEditAndroid
4 | {
5 | public static class Exts
6 | {
7 | public static string Replace(this string s, char[] separators, string newVal)
8 | {
9 | return String.Join(newVal, s.Split(separators, StringSplitOptions.RemoveEmptyEntries));
10 | }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Mask/Control/TextHolder.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MaskedEditAndroid.Mask.Control
4 | {
5 | public class TextHolder : Java.Lang.Object
6 | {
7 | public TextHolder(string t, Int32 start, Int32 end = -1)
8 | {
9 | this.Text = t;
10 | this.SelectionStart = start;
11 | this.SelectionEnd = end;
12 | }
13 |
14 | public Int32 SelectionStart { get; set; }
15 |
16 | public Int32 SelectionEnd { get; set; }
17 |
18 | public string Text { get; set; }
19 |
20 | public string RemovedBlock { get; set; }
21 |
22 | public Int32 RemovedBlockCount { get; set; }
23 |
24 | public override string ToString ()
25 | {
26 | return Text;
27 | }
28 | }
29 | }
30 |
31 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Mask/MaskProperties.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace MaskedEditAndroid.Mask
5 | {
6 | public class MaskProperties
7 | {
8 | public MaskProperties ()
9 | {
10 | }
11 |
12 | public List Mask { get; set; }
13 |
14 | public Int32 MaxLength
15 | {
16 | get;
17 | set;
18 | }
19 |
20 | ///
21 | /// Gets or sets the format characters.
22 | ///
23 | /// The format characters.
24 | public string FormatCharacters
25 | {
26 | get;
27 | set;
28 | }
29 | }
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Mask/MaskRules.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MaskedEditAndroid.Mask
4 | {
5 | public class MaskRules
6 | {
7 | public Int16 Start
8 | {
9 | get;
10 | set;
11 | }
12 | public Int16 End
13 | {
14 | get;
15 | set;
16 | }
17 |
18 | public string Mask
19 | {
20 | get;
21 | set;
22 | }
23 | }
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Mask/SelectionPoint.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MaskedEditAndroid.Mask
4 | {
5 | public class SelectionPoint
6 | {
7 | public SelectionPoint(Int32 start, Int32 end)
8 | {
9 | this.Start = start;
10 | this.End = end;
11 | }
12 |
13 | public SelectionPoint(Int32 start)
14 | {
15 | this.Start = start;
16 | this.End = -1;
17 | }
18 |
19 | public Int32 Start {
20 | get;
21 | set;
22 | }
23 |
24 | public Int32 End {
25 | get;
26 | set;
27 | }
28 | }
29 | }
30 |
31 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/drawable/error1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/drawable/error1.png
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-hdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-hdpi/Icon.png
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-mdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-mdpi/Icon.png
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xhdpi/Icon.png
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xxhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xxhdpi/Icon.png
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xxxhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xxxhdpi/Icon.png
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | MaskedEditAndroid
5 |
6 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/MaskedEditAndroid/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/MaskValidation - BETA/MaskedEditAndroid/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/MaskedEdit/Android/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/MaskedEdit/Android/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Android.App;
3 | using Android.Content;
4 | using Android.Content.PM;
5 | using Android.Runtime;
6 | using Android.Views;
7 | using Android.Widget;
8 | using Android.OS;
9 | using Xamarin.Forms.Platform.Android;
10 | using Java.Text;
11 |
12 |
13 | namespace Masked.Android
14 | {
15 | [Activity(Label = "Masked.Android", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
16 | public class MainActivity : Xamarin.Forms.Platform.Android.FormsApplicationActivity
17 | {
18 | protected override void OnCreate (Bundle bundle)
19 | {
20 | base.OnCreate (bundle);
21 |
22 | Xamarin.Forms.Forms.Init (this, bundle);
23 |
24 | LoadApplication (new App ());
25 | }
26 | }
27 | }
28 |
29 |
--------------------------------------------------------------------------------
/MaskedEdit/Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/MaskedEdit/Android/Resources/drawable/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEdit/Android/Resources/drawable/Icon.png
--------------------------------------------------------------------------------
/MaskedEdit/Android/Resources/layout/Main.axml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/MaskedEdit/Android/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | GitHub.Android.Android
5 |
6 |
--------------------------------------------------------------------------------
/MaskedEdit/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 |
4 | namespace Masked
5 | {
6 | public class App : Application
7 | {
8 | public App()
9 | {
10 | //this.MainPage = new NavigationPage (new MyMask ());
11 |
12 | // MVVM Samples
13 | this.MainPage = new NavigationPage (new Page1 ());
14 | }
15 | }
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/MaskedEdit/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEdit/Archive.zip
--------------------------------------------------------------------------------
/MaskedEdit/GitHub.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEdit/GitHub.suo
--------------------------------------------------------------------------------
/MaskedEdit/GitHub.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEdit/GitHub.v12.suo
--------------------------------------------------------------------------------
/MaskedEdit/IOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using MonoTouch.Foundation;
6 | using MonoTouch.UIKit;
7 |
8 | namespace App1.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/MaskedEdit/IOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/MaskedEdit/Library/Exts.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 | using System.Threading;
4 |
5 | namespace Masked.Library
6 | {
7 | public static class Exts
8 | {
9 | public static string Replace(this string s, char[] separators, string newVal)
10 | {
11 | return String.Join(newVal, s.Split(separators, StringSplitOptions.RemoveEmptyEntries));
12 | }
13 | }
14 | }
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/MaskedEdit/Library/MaskRules.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Masked.Library
4 | {
5 | public class MaskRules
6 | {
7 | public Int16 Start
8 | {
9 | get;
10 | set;
11 | }
12 | public Int16 End
13 | {
14 | get;
15 | set;
16 | }
17 |
18 | public string Mask
19 | {
20 | get;
21 | set;
22 | }
23 | }
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/MaskedEdit/Library/SelectionPoint.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Masked.Library
4 | {
5 | public class SelectionPoint
6 | {
7 | public SelectionPoint(Int32 start, Int32 end)
8 | {
9 | this.Start = start;
10 | this.End = end;
11 | }
12 |
13 | public SelectionPoint(Int32 start)
14 | {
15 | this.Start = start;
16 | this.End = -1;
17 | }
18 |
19 | public Int32 Start {
20 | get;
21 | set;
22 | }
23 |
24 | public Int32 End {
25 | get;
26 | set;
27 | }
28 |
29 | public string Text
30 | {
31 | get;
32 | set;
33 | }
34 | }
35 | }
36 |
37 |
--------------------------------------------------------------------------------
/MaskedEdit/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/MaskedEdit/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEditAndroid/Archive.zip
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEditAndroid/MaskedEditAndroid/Archive.zip
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Exts.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MaskedEditAndroid
4 | {
5 | public static class Exts
6 | {
7 | public static string Replace(this string s, char[] separators, string newVal)
8 | {
9 | return String.Join(newVal, s.Split(separators, StringSplitOptions.RemoveEmptyEntries));
10 | }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Mask/Control/TextHolder.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MaskedEditAndroid.Mask.Control
4 | {
5 | public class TextHolder : Java.Lang.Object
6 | {
7 | public TextHolder(string t, Int32 start, Int32 end = -1)
8 | {
9 | this.Text = t;
10 | this.SelectionStart = start;
11 | this.SelectionEnd = end;
12 | }
13 |
14 | public Int32 SelectionStart { get; set; }
15 |
16 | public Int32 SelectionEnd { get; set; }
17 |
18 | public string Text { get; set; }
19 |
20 | public string RemovedBlock { get; set; }
21 |
22 | public Int32 RemovedBlockCount { get; set; }
23 |
24 | public override string ToString ()
25 | {
26 | return Text;
27 | }
28 | }
29 | }
30 |
31 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Mask/MaskProperties.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace MaskedEditAndroid.Mask
5 | {
6 | public class MaskProperties
7 | {
8 | public MaskProperties ()
9 | {
10 | }
11 |
12 | public List Mask { get; set; }
13 |
14 | public Int32 MaxLength
15 | {
16 | get;
17 | set;
18 | }
19 |
20 | ///
21 | /// Gets or sets the format characters.
22 | ///
23 | /// The format characters.
24 | public string FormatCharacters
25 | {
26 | get;
27 | set;
28 | }
29 | }
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Mask/MaskRules.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MaskedEditAndroid.Mask
4 | {
5 | public class MaskRules
6 | {
7 | public Int16 Start
8 | {
9 | get;
10 | set;
11 | }
12 | public Int16 End
13 | {
14 | get;
15 | set;
16 | }
17 |
18 | public string Mask
19 | {
20 | get;
21 | set;
22 | }
23 | }
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Mask/SelectionPoint.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MaskedEditAndroid.Mask
4 | {
5 | public class SelectionPoint
6 | {
7 | public SelectionPoint(Int32 start, Int32 end)
8 | {
9 | this.Start = start;
10 | this.End = end;
11 | }
12 |
13 | public SelectionPoint(Int32 start)
14 | {
15 | this.Start = start;
16 | this.End = -1;
17 | }
18 |
19 | public Int32 Start {
20 | get;
21 | set;
22 | }
23 |
24 | public Int32 End {
25 | get;
26 | set;
27 | }
28 | }
29 | }
30 |
31 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Resources/drawable/error1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEditAndroid/MaskedEditAndroid/Resources/drawable/error1.png
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-hdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-hdpi/Icon.png
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-mdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-mdpi/Icon.png
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xhdpi/Icon.png
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xxhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xxhdpi/Icon.png
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xxxhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/MaskedEditAndroid/MaskedEditAndroid/Resources/mipmap-xxxhdpi/Icon.png
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | MaskedEditAndroid
5 |
6 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/MaskedEditAndroid/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/MaskedEditAndroid/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/NotificationSample/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/NotificationSample/Archive.zip
--------------------------------------------------------------------------------
/NotificationSample/Droid/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/NotificationSample/Droid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/NotificationSample/Droid/Resources/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/NotificationSample/Droid/Resources/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/NotificationSample/Droid/Resources/drawable-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/NotificationSample/Droid/Resources/drawable-xhdpi/icon.png
--------------------------------------------------------------------------------
/NotificationSample/Droid/Resources/drawable-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/NotificationSample/Droid/Resources/drawable-xxhdpi/icon.png
--------------------------------------------------------------------------------
/NotificationSample/Droid/Resources/drawable/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/NotificationSample/Droid/Resources/drawable/icon.png
--------------------------------------------------------------------------------
/NotificationSample/Droid/Resources/layout/Tabbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/NotificationSample/Droid/Resources/layout/Toolbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/NotificationSample/NotificationSample/App.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/NotificationSample/NotificationSample/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms;
2 |
3 | namespace NotificationSample
4 | {
5 | public partial class App : Application
6 | {
7 | public App()
8 | {
9 | InitializeComponent();
10 |
11 | MainPage = new NotificationSamplePage();
12 | }
13 |
14 | protected override void OnStart()
15 | {
16 | // Handle when your app starts
17 | }
18 |
19 | protected override void OnSleep()
20 | {
21 | // Handle when your app sleeps
22 | }
23 |
24 | protected override void OnResume()
25 | {
26 | // Handle when your app resumes
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/NotificationSample/NotificationSample/NotificationSamplePage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/NotificationSample/NotificationSample/NotificationSamplePage.xaml.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms;
2 |
3 | namespace NotificationSample
4 | {
5 | public partial class NotificationSamplePage : ContentPage
6 | {
7 | public NotificationSamplePage()
8 | {
9 | InitializeComponent();
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/NotificationSample/NotificationSample/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/NotificationSample/Plugins/Notifications/MyNotification.Plugin.Android/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | MyNotify.Plugin.Android
4 |
5 |
--------------------------------------------------------------------------------
/NotificationSample/Plugins/Notifications/PushNotification.Plugin.iOSUnified/PushNotificationNotInitializedException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace PushNotification.Plugin
4 | {
5 | ///
6 | /// Push Notification not Initialized Exception class
7 | ///
8 | public class PushNotificationNotInitializedException : Exception
9 | {
10 | ///
11 | /// Default Contructor
12 | ///
13 | public PushNotificationNotInitializedException()
14 | {
15 | }
16 | ///
17 | /// Constructor with message
18 | ///
19 | public PushNotificationNotInitializedException(string message): base(message)
20 | {
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/NotificationSample/Plugins/Notifications/readme.txt:
--------------------------------------------------------------------------------
1 | https://github.com/rdelrosario/xamarin-plugins/tree/master/PushNotification
--------------------------------------------------------------------------------
/NotificationSample/Plugins/ShortcutBadger/Implementations/SamsungHomeBadger.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using Android.Content;
3 | using Java.Lang;
4 | using Badges.ShortcutBadger.Infrastructure;
5 |
6 | namespace Badges.ShortcutBadger.Implementations
7 | {
8 |
9 | /**
10 | * @author Leo Lin
11 | * Deprecated, Samesung devices will use DefaultBadger
12 | * https://github.com/leolin310148/ShortcutBadger/blob/master/ShortcutBadger/src/main/java/me/leolin/shortcutbadger/impl/SamsungHomeBadger.java
13 | */
14 | [Deprecated]
15 | internal class SamsungHomeBadger : BaseShortcutBadger
16 | {
17 | public SamsungHomeBadger(Context context)
18 | : base(context)
19 | {
20 | }
21 |
22 | public override IEnumerable SupportLaunchers
23 | {
24 | get { return new List(); }
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/NotificationSample/Plugins/ShortcutBadger/Infrastructure/IShortcutBadger.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace Badges.ShortcutBadger.Infrastructure
4 | {
5 | public interface IShortcutBadger
6 | {
7 | IEnumerable SupportLaunchers { get; }
8 |
9 | void ExecuteBadge(int badgeCount);
10 | }
11 | }
12 |
13 |
--------------------------------------------------------------------------------
/NotificationSample/Plugins/ShortcutBadger/Infrastructure/ShortcutBadgeException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Badges.ShortcutBadger.Infrastructure
4 | {
5 | public class ShortcutBadgeException : Exception
6 | {
7 | public ShortcutBadgeException(string message)
8 | : base(message)
9 | {
10 | }
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/NotificationSample/Plugins/ShortcutBadger/Resources/Values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | $projectname$
5 |
6 |
--------------------------------------------------------------------------------
/NotificationSample/Plugins/ShortcutBadger/github.txt:
--------------------------------------------------------------------------------
1 | https://github.com/wcoder/ShortcutBadger
2 | https://github.com/leolin310148/ShortcutBadger
--------------------------------------------------------------------------------
/NotificationSample/iOS/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/NotificationSample/iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/NotificationSample/iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace NotificationSample.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/NotificationSample/iOS/NotificationAlertMessage.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | namespace NotificationSample.iOS
3 | {
4 | public class NotificationAlertMessage
5 | {
6 | public NotificationAlertMessage()
7 | {
8 | }
9 |
10 | public string Message { get; internal set; }
11 | public int MessageID { get; internal set; }
12 | public string Title { get; internal set; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/NotificationSample/iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/PickerToButton/.nuget/NuGet.Config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/PickerToButton/.nuget/NuGet.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/.nuget/NuGet.exe
--------------------------------------------------------------------------------
/PickerToButton/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/Archive.zip
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.Droid/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with you package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.Droid/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Android.App;
4 | using Android.Content.PM;
5 | using Android.Runtime;
6 | using Android.Views;
7 | using Android.Widget;
8 | using Android.OS;
9 |
10 | namespace PickerToButton.Droid
11 | {
12 | [Activity(Label = "PickerToButton", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
13 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity
14 | {
15 | protected override void OnCreate(Bundle bundle)
16 | {
17 | base.OnCreate(bundle);
18 |
19 | global::Xamarin.Forms.Forms.Init(this, bundle);
20 | LoadApplication(new App());
21 | }
22 | }
23 | }
24 |
25 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.Droid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.Droid/Resources/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.Droid/Resources/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.Droid/Resources/drawable-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.Droid/Resources/drawable-xhdpi/icon.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.Droid/Resources/drawable-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.Droid/Resources/drawable-xxhdpi/icon.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.Droid/Resources/drawable/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.Droid/Resources/drawable/icon.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.Droid/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace PickerToButton.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Default-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Default-Portrait.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Default-Portrait@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Default-Portrait@2x.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Default.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Default@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Default@2x.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Icon-60@2x.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Icon-60@3x.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Icon-76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Icon-76.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Icon-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Icon-76@2x.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Icon-Small-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Icon-Small-40.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Icon-Small-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Icon-Small-40@2x.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Icon-Small-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Icon-Small-40@3x.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Icon-Small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Icon-Small.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Icon-Small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Icon-Small@2x.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/Resources/Icon-Small@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/Resources/Icon-Small@3x.png
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/iTunesArtwork:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/iTunesArtwork
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/iTunesArtwork@2x:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.iOS/iTunesArtwork@2x
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.userprefs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.v11.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.v11.suo
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/PickerToButton/PickerToButton.v12.suo
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 |
6 | using Xamarin.Forms;
7 |
8 | namespace PickerToButton
9 | {
10 | public class App : Application
11 | {
12 | public App()
13 | {
14 | // The root page of your application
15 | MainPage = new NavigationPage (new Page1 ());
16 | }
17 |
18 | protected override void OnStart()
19 | {
20 | // Handle when your app starts
21 | }
22 |
23 | protected override void OnSleep()
24 | {
25 | // Handle when your app sleeps
26 | }
27 |
28 | protected override void OnResume()
29 | {
30 | // Handle when your app resumes
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton/MyPicker.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 |
4 | namespace PickerToButton
5 | {
6 | public class MyPicker : Picker
7 | {
8 | public MyPicker ()
9 | {
10 | }
11 |
12 | public static readonly BindableProperty PickItemsProperty =
13 | BindableProperty.Create ("PickItems", typeof(bool), typeof(MyPicker), false);
14 |
15 | public bool PickItems
16 | {
17 | get {
18 | return (bool)GetValue(PickItemsProperty);
19 | }
20 | set {
21 | this.SetValue(PickItemsProperty, value);
22 | }
23 | }
24 | }
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton/MyPickerView.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 | using System.Collections.Generic;
4 |
5 | namespace PickerToButton
6 | {
7 | public class MyPickerView : ContentView
8 | {
9 | public MyPicker picker;
10 |
11 | public MyPickerView ()
12 | {
13 | var list = new List();
14 | list.Add("one");
15 | list.Add("two");
16 | list.Add("three");
17 |
18 | picker = new MyPicker
19 | {
20 | Title = "Test Picker",
21 | HorizontalOptions = LayoutOptions.FillAndExpand,
22 | };
23 |
24 | foreach(var items in list)
25 | {
26 | picker.Items.Add(items);
27 | }
28 |
29 | Content = new StackLayout
30 | {
31 | Children = {
32 | picker
33 | }
34 | };
35 | }
36 | }
37 | }
38 |
39 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton/Page1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Reflection.Emit;
5 | using System.Text;
6 |
7 | using Xamarin.Forms;
8 |
9 | namespace PickerToButton
10 | {
11 | public class Page1 : ContentPage
12 | {
13 | public Page1()
14 | {
15 | this.Content = new StackLayout {
16 | Children = {
17 | new MyPickerView()
18 | }
19 | };
20 |
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/PickerToButton/PickerToButton/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/PickerToButton/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/TopAlert/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/Archive.zip
--------------------------------------------------------------------------------
/TopAlert/Droid/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/TopAlert/Droid/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Android.App;
4 | using Android.Content;
5 | using Android.Content.PM;
6 | using Android.Runtime;
7 | using Android.Views;
8 | using Android.Widget;
9 | using Android.OS;
10 |
11 | namespace TopAlert.Droid
12 | {
13 | [Activity (Label = "TopAlert.Droid", Icon = "@drawable/icon", MainLauncher = true) ]
14 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity
15 | {
16 | protected override void OnCreate (Bundle bundle)
17 | {
18 | base.OnCreate (bundle);
19 |
20 | global::Xamarin.Forms.Forms.Init (this, bundle);
21 |
22 | LoadApplication (new App ());
23 | }
24 | }
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/TopAlert/Droid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/TopAlert/Droid/Resources/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/Droid/Resources/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/TopAlert/Droid/Resources/drawable-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/Droid/Resources/drawable-xhdpi/icon.png
--------------------------------------------------------------------------------
/TopAlert/Droid/Resources/drawable-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/Droid/Resources/drawable-xxhdpi/icon.png
--------------------------------------------------------------------------------
/TopAlert/Droid/Resources/drawable/alertborder.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/TopAlert/Droid/Resources/drawable/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/Droid/Resources/drawable/icon.png
--------------------------------------------------------------------------------
/TopAlert/Droid/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
8 |
9 |
--------------------------------------------------------------------------------
/TopAlert/Droid/TopAlertRenderer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Android.Support.V7.App;
3 | using Android.Runtime;
4 | using Android.Views;
5 | using Android.Widget;
6 | using Android.Views.Animations;
7 | using Android.Animation;
8 | using Xamarin.Forms.Platform.Android;
9 | using Android.Graphics.Drawables;
10 | using Android.Graphics.Drawables.Shapes;
11 | using Android.Content.Res;
12 | using System.Threading.Tasks;
13 |
14 | [assembly: Xamarin.Forms.Dependency (typeof (TopAlert.Droid.TopAlertRenderer))]
15 | namespace TopAlert.Droid
16 | {
17 | public class TopAlertRenderer : ITopAlert
18 | {
19 | private static Lazy _Instance = new Lazy ();
20 |
21 | public void Kill()
22 | {
23 |
24 | }
25 |
26 | public void Show(TopAlert alert)
27 | {
28 | _Instance.Value.Show (alert);
29 | }
30 | }
31 | }
--------------------------------------------------------------------------------
/TopAlert/Droid/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/TopAlert/TopAlert/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Xamarin.Forms;
4 |
5 | namespace TopAlert
6 | {
7 | public class App : Application
8 | {
9 | public App ()
10 | {
11 | // The root page of your application
12 | MainPage = new NavigationPage (new AlertPage ());
13 | }
14 |
15 | protected override void OnStart ()
16 | {
17 | // Handle when your app starts
18 | }
19 |
20 | protected override void OnSleep ()
21 | {
22 | // Handle when your app sleeps
23 | }
24 |
25 | protected override void OnResume ()
26 | {
27 | // Handle when your app resumes
28 | }
29 | }
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/TopAlert/TopAlert/ITopAlert.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading.Tasks;
3 |
4 | namespace TopAlert
5 | {
6 | public interface ITopAlert
7 | {
8 | void Show(TopAlert alert);
9 |
10 | void Kill();
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/TopAlert/TopAlert/LinqExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Collections.Generic;
7 |
8 | public static class LinqExtensions
9 | {
10 | public static T FirstOrDefaultFromMany(this IEnumerable source, Func> childrenSelector, Predicate condition)
11 | {
12 | if (source == null || !source.Any ())
13 | return default(T);
14 |
15 | var attempt = source.FirstOrDefault (t => condition (t));
16 | if (!Equals (attempt, default(T)))
17 | return attempt;
18 |
19 | return source.SelectMany (childrenSelector).FirstOrDefaultFromMany (childrenSelector, condition);
20 | }
21 | }
--------------------------------------------------------------------------------
/TopAlert/TopAlert/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/TopAlert/iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace TopAlert.iOS
9 | {
10 | [Register ("AppDelegate")]
11 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
12 | {
13 | public override bool FinishedLaunching (UIApplication app, NSDictionary options)
14 | {
15 | global::Xamarin.Forms.Forms.Init ();
16 |
17 | LoadApplication (new App ());
18 |
19 | return base.FinishedLaunching (app, options);
20 | }
21 | }
22 | }
23 |
24 |
--------------------------------------------------------------------------------
/TopAlert/iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/TopAlert/iOS/ITunesArtwork:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/ITunesArtwork
--------------------------------------------------------------------------------
/TopAlert/iOS/ITunesArtwork@2x:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/ITunesArtwork@2x
--------------------------------------------------------------------------------
/TopAlert/iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace TopAlert.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main (string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main (args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Default-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Default-Portrait.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Default-Portrait@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Default-Portrait@2x.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Default.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Default@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Default@2x.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Icon-60@2x.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Icon-60@3x.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Icon-76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Icon-76.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Icon-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Icon-76@2x.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Icon-Small-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Icon-Small-40.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Icon-Small-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Icon-Small-40@2x.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Icon-Small-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Icon-Small-40@3x.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Icon-Small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Icon-Small.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Icon-Small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Icon-Small@2x.png
--------------------------------------------------------------------------------
/TopAlert/iOS/Resources/Icon-Small@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/TopAlert/iOS/Resources/Icon-Small@3x.png
--------------------------------------------------------------------------------
/TopAlert/iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/TopAlert/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/VideoPlayer/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/VideoPlayer/Archive.zip
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.Android/Resources/Drawable/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/VideoPlayer/VideoPlayer.Android/Resources/Drawable/Icon.png
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.Android/Resources/layout/VideoLayout.axml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
14 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.Android/Resources/layout/toolbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.Android/Resources/raw/sample.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/VideoPlayer/VideoPlayer.Android/Resources/raw/sample.mp4
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.Android/Resources/values/Colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #03A9F4
4 | #1976D2
5 | #FFC107
6 | #F5F5F5
7 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.Android/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | Hanselman.Android
5 |
6 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.Android/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using MonoTouch.Foundation;
6 | using MonoTouch.UIKit;
7 |
8 | namespace VideoSamples.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.iOS/Resources/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/VideoPlayer/VideoPlayer.iOS/Resources/Icon.png
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer.iOS/sample.m4v:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/VideoPlayer/VideoPlayer.iOS/sample.m4v
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using Xamarin.Forms;
6 |
7 | namespace VideoSamples
8 | {
9 | public class App : Application
10 | {
11 | public App()
12 | {
13 | if (Device.OS == TargetPlatform.Android) {
14 | this.MainPage = new NavigationPage (new AndroidVideoPlayer ());
15 | } else {
16 | this.MainPage = new NavigationPage (new iOSVideoPlayer ());
17 | }
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer/EXT/LinqExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Collections.Generic;
7 |
8 | public static class LinqExtensions
9 | {
10 | public static T FirstOrDefaultFromMany(this IEnumerable source, Func> childrenSelector, Predicate condition)
11 | {
12 | if (source == null || !source.Any ())
13 | return default(T);
14 |
15 | var attempt = source.FirstOrDefault (t => condition (t));
16 | if (!Equals (attempt, default(T)))
17 | return attempt;
18 |
19 | return source.SelectMany (childrenSelector).FirstOrDefaultFromMany (childrenSelector, condition);
20 | }
21 | }
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer/Library/VideoState.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace VideoSamples.Library
4 | {
5 | public enum VideoState
6 | {
7 | STOP,
8 | RESTART,
9 | PAUSE,
10 | PLAY,
11 | ENDED,
12 | NONE
13 | }
14 | }
15 |
16 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer/Views/VideoPlayerView.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 | using System.Linq.Expressions;
4 | using VideoSamples.Controls;
5 |
6 | namespace VideoSamples.Views
7 | {
8 | public class VideoPlayerView : ContentView
9 | {
10 | ///
11 | /// attached event handlers to this object
12 | ///
13 | private MyVideoPlayer _VideoPlayer;
14 |
15 | public MyVideoPlayer VideoPlayer {
16 | get {
17 | return this._VideoPlayer;
18 | }
19 | }
20 |
21 | public VideoPlayerView ()
22 | {
23 | this._VideoPlayer = new MyVideoPlayer();
24 | this.HorizontalOptions = LayoutOptions.FillAndExpand;
25 | this.VerticalOptions = LayoutOptions.FillAndExpand;
26 |
27 | this.Content = this._VideoPlayer;
28 | }
29 | }
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoPlayer/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/VideoPlayer/VideoSamples.userprefs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/VideoPlayer/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/.vs/MarqueeTest/v14/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/iOSMarqueeLabel/.vs/MarqueeTest/v14/.suo
--------------------------------------------------------------------------------
/iOSMarqueeLabel/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/iOSMarqueeLabel/Archive.zip
--------------------------------------------------------------------------------
/iOSMarqueeLabel/Forms.iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using FormsApp;
2 | using Foundation;
3 | using UIKit;
4 |
5 | namespace FormsiOS
6 | {
7 | [Register("AppDelegate")]
8 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
9 | {
10 | public override bool FinishedLaunching(UIApplication app, NSDictionary options)
11 | {
12 | global::Xamarin.Forms.Forms.Init();
13 |
14 | LoadApplication(new App());
15 |
16 | return base.FinishedLaunching(app, options);
17 | }
18 | }
19 | }
20 |
21 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/Forms.iOS/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/iOSMarqueeLabel/Forms.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/Forms.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace FormsiOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
22 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/Forms.iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/FormsApp/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 |
4 | namespace FormsApp
5 | {
6 | public class App : Xamarin.Forms.Application
7 | {
8 | public App()
9 | {
10 | this.MainPage = new NavigationPage(new Page1());
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/FormsApp/Page1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 |
4 | namespace FormsApp
5 | {
6 | public class Page1 : ContentPage
7 | {
8 | public Page1()
9 | {
10 | this.Content = new StackLayout
11 | {
12 | Children =
13 | {
14 | new iOSMarqueeLabel
15 | {
16 | Text = "I'm guessing this project is abandoned or at least relegated to old hardware & OSes"
17 | }
18 | }
19 | };
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/FormsApp/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/MarqueeBinding/StructsAndEnums.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using ObjCRuntime;
3 |
4 | namespace MarqueeBinding
5 | {
6 | [Native]
7 | public enum MarqueeType : ulong
8 | {
9 | LeftRight = 0,
10 | RightLeft,
11 | Continuous,
12 | ContinuousReverse
13 | }
14 | }
15 |
16 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/MarqueeBinding/libMarqueeLabel.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/iOSMarqueeLabel/MarqueeBinding/libMarqueeLabel.a
--------------------------------------------------------------------------------
/iOSMarqueeLabel/MarqueeBinding/libMarqueeLabel.linkwith.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using ObjCRuntime;
3 |
4 | [assembly: LinkWith ("libMarqueeLabel.a", LinkTarget.Simulator | LinkTarget.ArmV7 | LinkTarget.Simulator64 | LinkTarget.Arm64, SmartLink = true, ForceLoad = true)]
5 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/Native.iOS/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/iOSMarqueeLabel/Native.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/Native.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using UIKit;
2 |
3 | namespace NativeiOS
4 | {
5 | public class Application
6 | {
7 | // This is the main entry point of the application.
8 | static void Main(string[] args)
9 | {
10 | // if you want to use a different Application Delegate class from "AppDelegate"
11 | // you can specify it here.
12 | UIApplication.Main(args, null, "AppDelegate");
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/Native.iOS/ViewController.designer.cs:
--------------------------------------------------------------------------------
1 | //
2 | // This file has been generated automatically by MonoDevelop to store outlets and
3 | // actions made in the Xcode designer. If it is removed, they will be lost.
4 | // Manual changes to this file may not be handled correctly.
5 | //
6 | using Foundation;
7 |
8 | namespace NativeiOS
9 | {
10 | [Register("ViewController")]
11 | partial class ViewController
12 | {
13 | void ReleaseDesignerOutlets()
14 | {
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/iOSMarqueeLabel/packages/repositories.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/iOSMaskedEdit/Archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/amccorma/xamarin-amccorma/d2163058c1e02e25b06e6e68b604af39690b5b24/iOSMaskedEdit/Archive.zip
--------------------------------------------------------------------------------
/iOSMaskedEdit/iOSMaskedEdit/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/iOSMaskedEdit/iOSMaskedEdit/Exts.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace iOSMaskedEdit
4 | {
5 | public static class Exts
6 | {
7 | public static string Replace(this string s, char[] separators, string newVal)
8 | {
9 | return String.Join(newVal, s.Split(separators, StringSplitOptions.RemoveEmptyEntries));
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/iOSMaskedEdit/iOSMaskedEdit/Main.cs:
--------------------------------------------------------------------------------
1 | using UIKit;
2 |
3 | namespace iOSMaskedEdit
4 | {
5 | public class Application
6 | {
7 | // This is the main entry point of the application.
8 | static void Main (string[] args)
9 | {
10 | // if you want to use a different Application Delegate class from "AppDelegate"
11 | // you can specify it here.
12 | UIApplication.Main (args, null, "AppDelegate");
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/iOSMaskedEdit/iOSMaskedEdit/Mask/Control/MaskEdit.designer.cs:
--------------------------------------------------------------------------------
1 | // WARNING
2 | //
3 | // This file has been generated automatically by Xamarin Studio from the outlets and
4 | // actions declared in your storyboard file.
5 | // Manual changes to this file will not be maintained.
6 | //
7 | using Foundation;
8 | using System;
9 | using System.CodeDom.Compiler;
10 | using UIKit;
11 |
12 | namespace iOSMaskedEdit
13 | {
14 | [Register ("MaskEdit")]
15 | partial class MaskEdit
16 | {
17 | void ReleaseDesignerOutlets ()
18 | {
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/iOSMaskedEdit/iOSMaskedEdit/Mask/Control/TextHolder.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace iOSMaskedEdit
4 | {
5 | public class TextHolder
6 | {
7 | public TextHolder()
8 | {
9 |
10 | }
11 |
12 | public TextHolder(string t, Int32 start, Int32 end = -1)
13 | {
14 | this.Text = t;
15 | this.SelectionStart = start;
16 | this.SelectionEnd = end;
17 | }
18 |
19 | public Int32 SelectionStart { get; set; }
20 |
21 | public Int32 SelectionEnd { get; set; }
22 |
23 | public string Text { get; set; }
24 |
25 | public string RemovedBlock { get; set; }
26 |
27 | public Int32 RemovedBlockCount { get; set; }
28 |
29 | public override string ToString ()
30 | {
31 | return Text;
32 | }
33 | }
34 | }
35 |
36 |
--------------------------------------------------------------------------------
/iOSMaskedEdit/iOSMaskedEdit/Mask/MaskProperties.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace iOSMaskedEdit
5 | {
6 | public class MaskProperties
7 | {
8 | public MaskProperties ()
9 | {
10 | }
11 |
12 | public List Mask { get; set; }
13 |
14 | public Int32 MaxLength
15 | {
16 | get;
17 | set;
18 | }
19 |
20 | ///
21 | /// Gets or sets the format characters.
22 | ///
23 | /// The format characters.
24 | public string FormatCharacters
25 | {
26 | get;
27 | set;
28 | }
29 | }
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/iOSMaskedEdit/iOSMaskedEdit/Mask/MaskRules.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace iOSMaskedEdit
4 | {
5 | public class MaskRules
6 | {
7 | public Int16 Start
8 | {
9 | get;
10 | set;
11 | }
12 | public Int16 End
13 | {
14 | get;
15 | set;
16 | }
17 |
18 | public string Mask
19 | {
20 | get;
21 | set;
22 | }
23 | }
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/iOSMaskedEdit/iOSMaskedEdit/Mask/SelectionPoint.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace iOSMaskedEdit
4 | {
5 | public class SelectionPoint
6 | {
7 | public SelectionPoint(Int32 start, Int32 end)
8 | {
9 | this.Start = start;
10 | this.End = end;
11 | }
12 |
13 | public SelectionPoint(Int32 start)
14 | {
15 | this.Start = start;
16 | this.End = -1;
17 | }
18 |
19 | public Int32 Start {
20 | get;
21 | set;
22 | }
23 |
24 | public Int32 End {
25 | get;
26 | set;
27 | }
28 | }
29 | }
30 |
31 |
--------------------------------------------------------------------------------