View EntryMoveNextView.xaml
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" | |
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" /> |
View Home.js
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
// @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'; |
View ActionHandler.cs
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.Reactive.Disposables; | |
using RxUIForms.Models; | |
using Xamarin.Forms; | |
namespace RxUIForms.Helpers | |
{ | |
public static class ActionHandler | |
{ | |
/// <summary> |
View ReactiveUICommands.cs
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
/* | |
* Define Commands | |
*/ | |
public ReactiveCommand ShowActionSheetCommand { get; } | |
public ReactiveCommand ShowAlertCommand { get; } | |
public ReactiveCommand<CopyItem, bool> SelectItemCommand { get; } | |
/* Omitted */ | |
ShowAlertCommand = ReactiveCommand.CreateFromTask(async (arg) => await ShowAlert()); |
View HomePage.xaml
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="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> |
View AppShellViewModel.cs
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 Xamarin.Forms; | |
using Xamvvm; | |
namespace RxUIForms.ViewModels | |
{ | |
public class AppShellViewModel : BasePageModelRxUI | |
{ | |
/// <summary> |
View AppShell.cs
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 ReactiveUI; | |
using RxUIForms.ViewModels; | |
using Xamarin.Forms; | |
using Xamvvm; | |
namespace RxUIForms.Views | |
{ | |
public class AppShell : MasterDetailPage, IBasePageRxUI<AppShellViewModel> | |
{ |
View RxUIForms.App.xaml.cs
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 RxUIForms.ViewModels; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
using Xamvvm; | |
[assembly: XamlCompilation(XamlCompilationOptions.Compile)] | |
namespace RxUIForms | |
{ | |
public partial class App : Application |
View RxUIForms.csproj
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
<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" /> |
View EntryReturnTypeProperty.xaml
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> |
NewerOlder