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
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:ios="clr-namespace:UIKit;assembly=Xamarin.iOS;targetPlatform=iOS"
xmlns:controls="clr-namespace:samples.core.Controls;assembly=samples.core"
x:Class="samples.core.Views.EntryMoveNextView">
<ContentPage.Resources>
<ResourceDictionary>
<Style x:Name="MyEntry" TargetType="Entry">
<Setter Property="HeightRequest" Value="45" />
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
@JoeM-RP
JoeM-RP / Home.js
Last active February 22, 2019 19:27
// @flow
import React, { Component } from 'react';
import {
StatusBar, View, AppState, NetInfo,
} from 'react-native';
import { Button } from 'Button';
import { Card } from 'Card';
import { Header } from 'Header';
import { Input } from 'Input';
/// <summary>
/// Logging provided by <see cref="Prism.Logging"/>
/// </summary>
/// <value>The logger</value>
public new ILoggerFacade Logger
{
get { return this.Logger; } // Prism 7
}
/// <summary>
using DryIoc;
using Prism;
using Prism.DryIoc;
using Prism.Ioc;
using Prism.Logging;
using Xamarin.Forms;
namespace PrismForms
{
public partial class App : PrismApplication
using System;
using System.Linq;
using System.Collections.Generic;
using samples.core.Models;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
using System.Collections.ObjectModel;
namespace samples.core.Views
{
using System;
using System.Reactive.Disposables;
using RxUIForms.Models;
using Xamarin.Forms;
namespace RxUIForms.Helpers
{
public static class ActionHandler
{
/// <summary>
/*
* Define Commands
*/
public ReactiveCommand ShowActionSheetCommand { get; }
public ReactiveCommand ShowAlertCommand { get; }
public ReactiveCommand<CopyItem, bool> SelectItemCommand { get; }
/* Omitted */
ShowAlertCommand = ReactiveCommand.CreateFromTask(async (arg) => await ShowAlert());
<?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="RxUIForms.Views.HomePage" 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>
using System;
using Xamarin.Forms;
using Xamvvm;
namespace RxUIForms.ViewModels
{
public class AppShellViewModel : BasePageModelRxUI
{
/// <summary>