This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using samples.core.Controls; | |
using samples.Droid.Effects; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.Android; | |
[assembly: ExportEffect(typeof(EntryMoveNextEffect), nameof(EntryMoveNextEffect))] | |
namespace samples.Droid.Effects | |
{ | |
public class EntryMoveNextEffect : PlatformEffect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using CoreGraphics; | |
using samples.core.Controls; | |
using samples.iOS.Effects; | |
using UIKit; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.iOS; | |
[assembly: ExportEffect(typeof(EntryMoveNextEffect), nameof(EntryMoveNextEffect))] | |
namespace samples.iOS.Effects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="samples.core.Views.EntryMoveNextView" | |
xmlns:ctrl="clr-namespace:samples.core.Controls;assembly=samples.core"> | |
<ContentPage.Resources> | |
<ResourceDictionary> | |
<Style x:Name="MyEntry" TargetType="Entry"> | |
<Setter Property="HeightRequest" Value="45" /> | |
</Style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.CompilerServices; | |
using Xamarin.Forms; | |
namespace samples.core.Controls | |
{ | |
public class EntryMoveNextControl : Entry | |
{ | |
public static readonly BindableProperty NextEntryProperty = BindableProperty.Create(nameof(NextEntry), typeof(View), typeof(Entry)); | |
public View NextEntry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace EddystoneGenerator | |
{ | |
class MainClass | |
{ | |
public static void Main(string[] args) | |
{ | |
Random random = new Random(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="PrismForms.Views.HomePage" xmlns:prism="clr-namespace:Prism.Mvvm;assembly=Prism.Forms" prism:ViewModelLocator.AutowireViewModel="True" Title="{Binding Title}"> | |
<ContentPage.Content> | |
<StackLayout Padding="10,20"> | |
<ListView SelectedItem="{Binding SelectedItem, Mode=TwoWay}" ItemsSource="{Binding CopyItems}"> | |
<ListView.ItemTemplate> | |
<DataTemplate> | |
<TextCell Text="{Binding Title}" /> | |
</DataTemplate> | |
</ListView.ItemTemplate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using Prism.Navigation; | |
using Xamarin.Forms; | |
using Xamarin.Forms.PlatformConfiguration.iOSSpecific; | |
namespace PrismForms.Views | |
{ | |
public partial class AppShell : MasterDetailPage, IMasterDetailPageOptions | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<MasterDetailPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="PrismForms.Views.AppShell" | |
xmlns:prism="clr-namespace:Prism.Mvvm;assembly=Prism.Forms" | |
prism:ViewModelLocator.AutowireViewModel="True"> | |
<MasterDetailPage.Master> | |
<!-- Be mindful of the Title and Icon properties; they are required --> | |
<NavigationPage Title="Required" Icon="slideout.png" BarTextColor="White" BarBackgroundColor="#87A3BA"> | |
<x:Arguments> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Logging provided by <see cref="Prism.Logging"/> | |
/// </summary> | |
/// <value>The logger</value> | |
public new ILoggerFacade Logger | |
{ | |
get { return this.Logger; } // Prism 7 | |
} | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<prism:PrismApplication xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="PrismForms.App" xmlns:prism="clr-namespace:Prism.DryIoc;assembly=Prism.DryIoc.Forms"> | |
<prism:PrismApplication.Resources> | |
<!-- Application resource dictionary --> | |
<ResourceDictionary> | |
</ResourceDictionary> | |
</prism:PrismApplication.Resources> | |
</prism:PrismApplication> |