Skip to content

Instantly share code, notes, and snippets.

View JoeM-RP's full-sized avatar
🛰️
Broadcasting live from geosynchronous orbit over Chicago

Joe Meyer JoeM-RP

🛰️
Broadcasting live from geosynchronous orbit over Chicago
View GitHub Profile
@JoeM-RP
JoeM-RP / Program.cs
Last active June 20, 2018 14:37
EddystoneGenerator
using System;
namespace EddystoneGenerator
{
class MainClass
{
public static void Main(string[] args)
{
Random random = new Random();
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
<?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>
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
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
<?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>
@JoeM-RP
JoeM-RP / RxUIForms.csproj
Created August 7, 2018 16:00
RxUI + Xamvvm netstandard project file
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="3.1.0.697729" />
<PackageReference Include="reactiveui-core" Version="7.0.0" />
<PackageReference Include="reactiveui-xamforms" Version="7.0.0" />
using System;
using RxUIForms.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Xamvvm;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
namespace RxUIForms
{
public partial class App : Application
@JoeM-RP
JoeM-RP / AppShell.cs
Created August 14, 2018 21:08
RxUIForms.AppShell.cs
using System;
using ReactiveUI;
using RxUIForms.ViewModels;
using Xamarin.Forms;
using Xamvvm;
namespace RxUIForms.Views
{
public class AppShell : MasterDetailPage, IBasePageRxUI<AppShellViewModel>
{
using System;
using Xamarin.Forms;
using Xamvvm;
namespace RxUIForms.ViewModels
{
public class AppShellViewModel : BasePageModelRxUI
{
/// <summary>