├── CardView ├── CardView │ ├── CardView.Forms.Plugin.Android │ │ ├── Resources │ │ │ ├── Resource.Designer.cs │ │ │ └── AboutResources.txt │ │ ├── MeasureSpecFactory.cs │ │ ├── packages.config │ │ ├── CardsViewRenderer.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── AndroidDeviceInfo.cs │ │ ├── CardViewRenderer.cs │ │ └── CardView.Forms.Plugin.Droid.csproj │ ├── CardView.Forms.Plugin.iOSUnified │ │ ├── packages.config │ │ ├── Extensions.cs │ │ ├── XCardView.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── NewCardView.cs │ │ ├── iOSCardView.cs │ │ ├── iOSDeviceInfo.cs │ │ ├── KSCardView │ │ │ └── KSCardView.Partial.cs │ │ ├── CardView.Forms.Plugin.iOSUnified.csproj │ │ └── CardViewImplementation.cs │ ├── CardView.Forms.Plugin.WindowsPhone │ │ ├── Toolkit.Content │ │ │ ├── ApplicationBar.Add.png │ │ │ ├── ApplicationBar.Check.png │ │ │ ├── ApplicationBar.Cancel.png │ │ │ ├── ApplicationBar.Delete.png │ │ │ └── ApplicationBar.Select.png │ │ ├── README_FIRST.txt │ │ ├── packages.config │ │ ├── CardViewImplementation.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ └── CardView.Forms.Plugin.Abstractions │ │ ├── packages.config │ │ ├── DeviceInfo.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── CardsView.cs │ │ ├── CardContentView.cs │ │ └── CardView.Forms.Plugin.Abstractions.csproj ├── iOS │ ├── ITunesArtwork │ ├── ITunesArtwork@2x │ ├── Resources │ │ ├── Default.png │ │ ├── Icon-76.png │ │ ├── Default@2x.png │ │ ├── Icon-60@2x.png │ │ ├── Icon-60@3x.png │ │ ├── Icon-76@2x.png │ │ ├── Icon-Small.png │ │ ├── Icon-Small-40.png │ │ ├── Icon-Small@2x.png │ │ ├── Icon-Small@3x.png │ │ ├── Default-568h@2x.png │ │ ├── Default-Portrait.png │ │ ├── Icon-Small-40@2x.png │ │ ├── Icon-Small-40@3x.png │ │ ├── Default-Portrait@2x.png │ │ └── LaunchScreen.storyboard │ ├── Entitlements.plist │ ├── packages.config │ ├── Main.cs │ ├── AppDelegate.cs │ └── Info.plist ├── Droid │ ├── Resources │ │ ├── drawable │ │ │ └── icon.png │ │ ├── drawable-hdpi │ │ │ └── icon.png │ │ ├── drawable-xhdpi │ │ │ └── icon.png │ │ ├── drawable-xxhdpi │ │ │ └── icon.png │ │ └── AboutResources.txt │ ├── Properties │ │ ├── AndroidManifest.xml │ │ └── AssemblyInfo.cs │ ├── packages.config │ ├── Assets │ │ └── AboutAssets.txt │ ├── MainActivity.cs │ └── CardView.Sample.Droid.csproj ├── CardView.Sample.iOS.Native │ ├── Entitlements.plist │ ├── packages.config │ ├── Main.cs │ ├── ViewController.designer.cs │ ├── Main.storyboard │ ├── Info.plist │ ├── ViewController.cs │ ├── Resources │ │ ├── Images.xcassets │ │ │ └── AppIcons.appiconset │ │ │ │ └── Contents.json │ │ └── LaunchScreen.xib │ ├── AppDelegate.cs │ └── CardView.Sample.iOS.Native.csproj └── CardView.Sample │ ├── CardView.Sample.projitems │ ├── CardView.Sample.shproj │ └── CardView.Sample.cs ├── Popup Image View ├── iOS │ ├── FodyWeavers.xml │ ├── Assets.xcassets │ │ ├── Contents.json │ │ └── AppIcons.appiconset │ │ │ └── Contents.json │ ├── Entitlements.plist │ ├── Main.cs │ ├── packages.config │ ├── AppDelegate.cs │ ├── Info.plist │ ├── LaunchScreen.storyboard │ └── PopupImageViewRenderer.cs ├── Droid │ ├── FodyWeavers.xml │ ├── Resources │ │ ├── drawable │ │ │ └── icon.png │ │ ├── drawable-hdpi │ │ │ └── icon.png │ │ ├── drawable-xhdpi │ │ │ └── icon.png │ │ ├── drawable-xxhdpi │ │ │ └── icon.png │ │ ├── layout │ │ │ ├── Toolbar.axml │ │ │ ├── Tabbar.axml │ │ │ └── PreviewImage.axml │ │ ├── values │ │ │ └── styles.xml │ │ └── AboutResources.txt │ ├── Properties │ │ ├── AndroidManifest.xml │ │ └── AssemblyInfo.cs │ ├── Assets │ │ └── AboutAssets.txt │ ├── MainActivity.cs │ ├── packages.config │ ├── MainApplication.cs │ └── PopupImageViewRenderer.cs ├── README.md ├── ImageTest │ ├── PopupImageView.cs │ ├── ImageTakerPage.xaml.cs │ ├── ImageTest.cs │ ├── NotNullConverter.cs │ ├── ImageTest.shproj │ ├── ObservableObject.cs │ ├── ImageTest.projitems │ ├── ImageTakerPage.xaml │ └── ImageTakerPageModel.cs └── ImageTest.sln ├── ExtendedMaps ├── Sample │ ├── Droid │ │ ├── Resources │ │ │ ├── drawable │ │ │ │ └── icon.png │ │ │ ├── drawable-hdpi │ │ │ │ └── icon.png │ │ │ ├── drawable-xhdpi │ │ │ │ └── icon.png │ │ │ ├── drawable-xxhdpi │ │ │ │ └── icon.png │ │ │ └── AboutResources.txt │ │ ├── packages.config │ │ ├── Assets │ │ │ └── AboutAssets.txt │ │ ├── MainActivity.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ └── AndroidManifest.xml │ │ └── ExtendedMaps.Sample.Droid.csproj │ └── ExtendedMapsSample │ │ ├── CustomPin.cs │ │ ├── ExtendedMapsSample.cs │ │ ├── ExtendedMapsSample.projitems │ │ ├── ExtendedMapsSample.shproj │ │ ├── DetailPage.cs │ │ └── MyPage.cs ├── Library │ ├── ExtendedMap.Droid │ │ ├── Resources │ │ │ ├── values │ │ │ │ └── Strings.xml │ │ │ ├── Resource.designer.cs │ │ │ └── AboutResources.txt │ │ ├── Maps.cs │ │ ├── packages.config │ │ └── ExtendedMaps.Droid.csproj │ └── ExtendedMaps │ │ ├── Models │ │ └── IMapModel.cs │ │ ├── packages.config │ │ ├── Controls │ │ ├── LiteMap.cs │ │ ├── ExtendedPin.cs │ │ └── ExtendedMap.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── ExtendedMaps.csproj │ │ └── GeoHelper.cs ├── README.md └── ExtendedMaps.sln ├── .gitignore ├── README.md └── LICENSE.txt /CardView/CardView/CardView.Forms.Plugin.Android/Resources/Resource.Designer.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CardView/iOS/ITunesArtwork: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/ITunesArtwork -------------------------------------------------------------------------------- /Popup Image View/iOS/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /CardView/iOS/ITunesArtwork@2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/ITunesArtwork@2x -------------------------------------------------------------------------------- /CardView/iOS/Resources/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Default.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Icon-76.png -------------------------------------------------------------------------------- /Popup Image View/Droid/FodyWeavers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Popup Image View/iOS/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /CardView/iOS/Resources/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Default@2x.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Icon-60@2x.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Icon-60@3x.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Icon-76@2x.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Icon-Small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Icon-Small.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Icon-Small-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Icon-Small-40.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Icon-Small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Icon-Small@2x.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Icon-Small@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Icon-Small@3x.png -------------------------------------------------------------------------------- /CardView/Droid/Resources/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/Droid/Resources/drawable/icon.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Default-568h@2x.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Default-Portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Default-Portrait.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Icon-Small-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Icon-Small-40@2x.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Icon-Small-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Icon-Small-40@3x.png -------------------------------------------------------------------------------- /CardView/iOS/Resources/Default-Portrait@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/iOS/Resources/Default-Portrait@2x.png -------------------------------------------------------------------------------- /CardView/Droid/Resources/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/Droid/Resources/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /CardView/Droid/Resources/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/Droid/Resources/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /CardView/Droid/Resources/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/Droid/Resources/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /Popup Image View/Droid/Resources/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/Popup Image View/Droid/Resources/drawable/icon.png -------------------------------------------------------------------------------- /ExtendedMaps/Sample/Droid/Resources/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/ExtendedMaps/Sample/Droid/Resources/drawable/icon.png -------------------------------------------------------------------------------- /Popup Image View/Droid/Resources/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/Popup Image View/Droid/Resources/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /Popup Image View/Droid/Resources/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/Popup Image View/Droid/Resources/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /ExtendedMaps/Sample/Droid/Resources/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/ExtendedMaps/Sample/Droid/Resources/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /Popup Image View/Droid/Resources/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/Popup Image View/Droid/Resources/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /ExtendedMaps/Sample/Droid/Resources/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/ExtendedMaps/Sample/Droid/Resources/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /ExtendedMaps/Sample/Droid/Resources/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/ExtendedMaps/Sample/Droid/Resources/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /ExtendedMaps/Library/ExtendedMap.Droid/Resources/values/Strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ExtendedMaps.Droid 4 | 5 | -------------------------------------------------------------------------------- /ExtendedMaps/README.md: -------------------------------------------------------------------------------- 1 | ExtendedMaps 2 | =============== 3 | 4 | A custom control that exposes the ability to create a bindable map as well as create maps in "lite mode". 5 | 6 | Currently only supported on Android. -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.iOSUnified/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.WindowsPhone/Toolkit.Content/ApplicationBar.Add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/CardView/CardView.Forms.Plugin.WindowsPhone/Toolkit.Content/ApplicationBar.Add.png -------------------------------------------------------------------------------- /Popup Image View/README.md: -------------------------------------------------------------------------------- 1 | Popup Image View 2 | =============== 3 | This is an example of how to do a full image popup/preview with a Xamarin.Forms Image. 4 | 5 | It is currently not written in plugin format, I have plans to do so later. 6 | -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.WindowsPhone/Toolkit.Content/ApplicationBar.Check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/CardView/CardView.Forms.Plugin.WindowsPhone/Toolkit.Content/ApplicationBar.Check.png -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.WindowsPhone/Toolkit.Content/ApplicationBar.Cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/CardView/CardView.Forms.Plugin.WindowsPhone/Toolkit.Content/ApplicationBar.Cancel.png -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.WindowsPhone/Toolkit.Content/ApplicationBar.Delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/CardView/CardView.Forms.Plugin.WindowsPhone/Toolkit.Content/ApplicationBar.Delete.png -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.WindowsPhone/Toolkit.Content/ApplicationBar.Select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MysterDru/xamarin-plugins/HEAD/CardView/CardView/CardView.Forms.Plugin.WindowsPhone/Toolkit.Content/ApplicationBar.Select.png -------------------------------------------------------------------------------- /CardView/iOS/Entitlements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Popup Image View/iOS/Entitlements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /CardView/CardView.Sample.iOS.Native/Entitlements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.WindowsPhone/README_FIRST.txt: -------------------------------------------------------------------------------- 1 | For the Windows Phone toolkit make sure that you have 2 | marked the icons in the "Toolkit.Content" folder as content. That way they 3 | can be used as the icons for the ApplicationBar control. -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.Abstractions/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /CardView/iOS/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.WindowsPhone/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /CardView/CardView.Sample.iOS.Native/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Popup Image View/Droid/Properties/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /ExtendedMaps/Library/ExtendedMaps/Models/IMapModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Xamarin.Forms.Maps; 3 | 4 | namespace ExtendedMaps 5 | { 6 | public interface IMapModel 7 | { 8 | string Name { get; set; } 9 | string Details { get; set; } 10 | Position Location { get; set; } 11 | string ImageUrl { get; set; } 12 | 13 | Pin AsPin(); 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /CardView/Droid/Properties/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ExtendedMaps/Library/ExtendedMap.Droid/Maps.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Android.OS; 3 | using Android.Content; 4 | using Android.App; 5 | 6 | namespace ExtendedMaps 7 | { 8 | public class Maps 9 | { 10 | public static void Init(Activity context, Bundle bundle) 11 | { 12 | Xamarin.FormsMaps.Init (context, bundle); 13 | 14 | Droid.LiteMapRenderer.Bundle = bundle; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /ExtendedMaps/Library/ExtendedMaps/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Popup Image View/iOS/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace ImageTest.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 | -------------------------------------------------------------------------------- /ExtendedMaps/Sample/ExtendedMapsSample/CustomPin.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using ExtendedMaps; 4 | using System.Collections.Generic; 5 | 6 | namespace ExtendedMapsSample 7 | { 8 | public class CustomPin : ExtendedPin 9 | { 10 | public IEnumerable Enumerable 11 | { 12 | get { 13 | return new List { 14 | this 15 | }.AsEnumerable (); 16 | } 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /Popup Image View/ImageTest/PopupImageView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Xamarin.Forms; 3 | 4 | namespace ImageTest 5 | { 6 | public class PopupImageView : Image 7 | { 8 | internal event EventHandler PopupRequested; 9 | // empty, all extra stuff is done in native renderers 10 | 11 | public void Show() 12 | { 13 | if (this.PopupRequested != null) 14 | { 15 | this.PopupRequested.Invoke(this, new EventArgs()); 16 | } 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /Popup Image View/Droid/Resources/layout/Toolbar.axml: -------------------------------------------------------------------------------- 1 | 2 | 10 | -------------------------------------------------------------------------------- /Popup Image View/iOS/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /CardView/CardView.Sample.iOS.Native/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace CardView.Sample.iOS.Native 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 | -------------------------------------------------------------------------------- /ExtendedMaps/Library/ExtendedMaps/Controls/LiteMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Xamarin.Forms.Maps; 3 | 4 | namespace ExtendedMaps 5 | { 6 | public class LiteMap : ExtendedMap 7 | { 8 | internal event EventHandler MoveToRegionRequested = delegate {}; 9 | 10 | public LiteMap(MapSpan region) : base(region) 11 | { 12 | // LastMoveToRegion = region; 13 | } 14 | 15 | public new void MoveToRegion(MapSpan mapSpan) 16 | { 17 | this.MoveToRegionRequested (this, mapSpan); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /CardView/Droid/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Popup Image View/ImageTest/ImageTakerPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | using Xamarin.Forms; 5 | 6 | namespace ImageTest 7 | { 8 | public partial class ImageTakerPage : ContentPage 9 | { 10 | public ImageTakerPage() 11 | { 12 | this.BindingContext = new ImageTakerPageModel(); 13 | 14 | this.InitializeComponent(); 15 | } 16 | 17 | private void HandleImagePreviewTapped(object sender, EventArgs args) 18 | { 19 | this.imagePreview.Show(); 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.Android/MeasureSpecFactory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Android.Views; 3 | 4 | namespace CardView.Forms.Plugin.Droid 5 | { 6 | internal static class MeasureSpecFactory 7 | { 8 | public static int MakeMeasureSpec(int size, MeasureSpecMode mode) 9 | { 10 | return (int) (size + mode); 11 | } 12 | 13 | public static int GetSize(int measureSpec) 14 | { 15 | return measureSpec & 1073741823; 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.Android/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /CardView/CardView.Sample.iOS.Native/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 CardView.Sample.iOS.Native 9 | { 10 | [Register("ViewController")] 11 | partial class ViewController 12 | { 13 | void ReleaseDesignerOutlets() 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | #Autosave files 2 | *~ 3 | 4 | #build 5 | [Oo]bj/ 6 | [Bb]in/ 7 | packages/ 8 | TestResults/ 9 | 10 | # globs 11 | Makefile.in 12 | *.DS_Store 13 | *.sln.cache 14 | *.suo 15 | *.cache 16 | *.pidb 17 | *.userprefs 18 | *.usertasks 19 | config.log 20 | config.make 21 | config.status 22 | aclocal.m4 23 | install-sh 24 | autom4te.cache/ 25 | *.user 26 | *.tar.gz 27 | tarballs/ 28 | test-results/ 29 | Thumbs.db 30 | 31 | #Mac bundle stuff 32 | *.dmg 33 | *.app 34 | 35 | #resharper 36 | *_Resharper.* 37 | *.Resharper 38 | 39 | #dotCover 40 | *.dotCover 41 | -------------------------------------------------------------------------------- /Popup Image View/Droid/Resources/layout/Tabbar.axml: -------------------------------------------------------------------------------- 1 | 2 | 13 | -------------------------------------------------------------------------------- /Popup Image View/ImageTest/ImageTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using Xamarin.Forms; 4 | 5 | namespace ImageTest 6 | { 7 | public class App : Application 8 | { 9 | public App() 10 | { 11 | MainPage = new NavigationPage(new ImageTakerPage()); 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 | 31 | -------------------------------------------------------------------------------- /CardView/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 CardView.Sample.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 | -------------------------------------------------------------------------------- /ExtendedMaps/Sample/ExtendedMapsSample/ExtendedMapsSample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using Xamarin.Forms; 4 | 5 | namespace ExtendedMaps.Sample 6 | { 7 | public class App : Application 8 | { 9 | public App () 10 | { 11 | MainPage = new NavigationPage(new MyPage ()); 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 | 31 | -------------------------------------------------------------------------------- /Popup Image View/ImageTest/NotNullConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Xamarin.Forms; 3 | 4 | namespace ImageTest 5 | { 6 | public class NotNullConverter : IValueConverter 7 | { 8 | #region IValueConverter implementation 9 | 10 | public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 11 | { 12 | return value != null; 13 | } 14 | 15 | public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 16 | { 17 | throw new NotImplementedException(); 18 | } 19 | 20 | #endregion 21 | } 22 | } -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.iOSUnified/Extensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UIKit; 3 | 4 | namespace CardView.Forms.Plugin.iOSUnified 5 | { 6 | internal static class Extensions 7 | { 8 | internal static void RemoveAllSubviews(this UIView super) 9 | { 10 | if (super == null) 11 | { 12 | return; 13 | } 14 | 15 | for (int i = 0; i < super.Subviews.Length; i++) 16 | { 17 | var subview = super.Subviews[i]; 18 | 19 | subview.RemoveFromSuperview(); 20 | } 21 | } 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | xamarin-plugins 2 | =============== 3 | 4 | Cross platform Xamarin & Windows plugins & controls for PCLs 5 | 6 | # Current Plugins for Xamarin 7 | 8 | Each plugin has a README with more information on what they contain. 9 | * **[Xamarin.Forms ExtendedMaps](https://github.com/keannan5390/xamarin-plugins/tree/master/ExtendedMaps)** 10 | * **[Xamarin.Forms CardView](https://github.com/keannan5390/xamarin-plugins/tree/master/CardView)** 11 | * **[Xamarin.Forms Floating Action Button](https://github.com/keannan5390/Xamarin.Plugin.FAB)** 12 | * **[Xamarin.Forms Popup Image View](https://github.com/keannan5390/xamarin-plugins/tree/master/Popup%20Image%20View)** 13 | -------------------------------------------------------------------------------- /CardView/CardView.Sample/CardView.Sample.projitems: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | true 6 | {18A0C8C6-8C04-41ED-A2DD-D8E4043AE397} 7 | 8 | 9 | CardView.Sample 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ExtendedMaps/Sample/Droid/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /CardView/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 | -------------------------------------------------------------------------------- /ExtendedMaps/Library/ExtendedMap.Droid/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ExtendedMaps/Sample/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 | -------------------------------------------------------------------------------- /Popup Image View/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 | -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.WindowsPhone/CardViewImplementation.cs: -------------------------------------------------------------------------------- 1 | using CardView.Forms.Plugin.Abstractions; 2 | using System; 3 | using Xamarin.Forms; 4 | using CardView.Forms.Plugin.WindowsPhone; 5 | using Xamarin.Forms.Platform.WinPhone; 6 | 7 | [assembly: ExportRenderer(typeof(CardView.Forms.Plugin.Abstractions.CardViewControl), typeof(CardViewRenderer))] 8 | namespace CardView.Forms.Plugin.WindowsPhone 9 | { 10 | /// 11 | /// CardView Renderer 12 | /// 13 | public class CardViewRenderer //: TRender (replace with renderer type 14 | { 15 | /// 16 | /// Used for registration with dependency service 17 | /// 18 | public static void Init() { } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /CardView/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 CardView.Sample.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 | var card = new CardView.Forms.Plugin.iOSUnified.iOSCardView(); 16 | card.Dispose(); 17 | 18 | global::Xamarin.Forms.Forms.Init(); 19 | 20 | 21 | 22 | LoadApplication(new App()); 23 | 24 | return base.FinishedLaunching(app, options); 25 | } 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /CardView/CardView/CardView.Forms.Plugin.Abstractions/DeviceInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Xamarin.Forms; 3 | 4 | namespace CardView.Forms.Plugin.Abstractions 5 | { 6 | internal abstract class DeviceInfo : BindableObject, IDisposable 7 | { 8 | private bool disposed; 9 | 10 | public abstract Size PixelScreenSize { get; } 11 | 12 | public abstract Size ScaledScreenSize { get; } 13 | 14 | public abstract double ScalingFactor { get; } 15 | 16 | public void Dispose() 17 | { 18 | this.Dispose(true); 19 | } 20 | 21 | protected virtual void Dispose(bool disposing) 22 | { 23 | if (this.disposed) 24 | return; 25 | this.disposed = true; 26 | } 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /ExtendedMaps/Library/ExtendedMaps/Controls/ExtendedPin.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Xamarin.Forms.Maps; 3 | 4 | namespace ExtendedMaps 5 | { 6 | public class ExtendedPin : IMapModel 7 | { 8 | public ExtendedPin() 9 | { 10 | } 11 | 12 | public ExtendedPin(string name, string details, double latitude, double longitude) 13 | { 14 | Name = name; 15 | Details = details; 16 | Location = new Position(latitude, longitude); 17 | } 18 | 19 | public string Name { get; set; } 20 | public string Details { get; set; } 21 | public string ImageUrl { get; set; } 22 | public Position Location { get; set; } 23 | 24 | public Pin AsPin () 25 | { 26 | return new Pin () { 27 | Label = this.Name, 28 | Position = this.Location, 29 | Address = this.Details, 30 | }; 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Popup Image View/Droid/Resources/layout/PreviewImage.axml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 |