Skip to content

Instantly share code, notes, and snippets.

Juliano Custódio juucustodio

Block or report user

Report or block juucustodio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@juucustodio
juucustodio / PopToRootAsync.cs
Created Jul 27, 2019
Example of how to work with MVVM pattern using the MVVMCoffee nuget package - http://julianocustodio.com/mvvmcoffee
View PopToRootAsync.cs
await Navigation.PopToRootAsync();
@juucustodio
juucustodio / PopAsync.cs
Created Jul 27, 2019
Example of how to work with MVVM pattern using the MVVMCoffee nuget package - http://julianocustodio.com/mvvmcoffee
View PopAsync.cs
await Navigation.PopAsync();
@juucustodio
juucustodio / SetRootAsync.cs
Created Jul 27, 2019
Example of how to work with MVVM pattern using the MVVMCoffee nuget package - http://julianocustodio.com/mvvmcoffee
View SetRootAsync.cs
await Navigation.SetRootAsync<CustomerViewModel>();
@juucustodio
juucustodio / PushAsync.cs
Created Jul 27, 2019
Example of how to work with MVVM pattern using the MVVMCoffee nuget package - http://julianocustodio.com/mvvmcoffee
View PushAsync.cs
await Navigation.PushAsync<CustomerViewModel>(false);
@juucustodio
juucustodio / MainViewModel.cs
Created Jul 27, 2019
Example of how to work with MVVM pattern using the MVVMCoffee nuget package - http://julianocustodio.com/mvvmcoffee
View MainViewModel.cs
using MVVMCoffee.ViewModels;
using Xamarin.Forms;
namespace Sample.ViewModels
{
public class MainViewModel : BaseViewModel
{
public Command PushAsyncToFormCommand { get; }
public Command SetRootFormCommand { get; }
public MainViewModel()
@juucustodio
juucustodio / FormViewModel.cs
Created Jul 27, 2019
Example of how to work with MVVM pattern using the MVVMCoffee nuget package - http://julianocustodio.com/mvvmcoffee
View FormViewModel.cs
using System;
using MVVMCoffee.ViewModels;
using Sample.Models;
using Xamarin.Forms;
namespace Sample.ViewModels
{
public class FormViewModel : BaseViewModel
{
public Command PopAsyncCommand { get; }
@juucustodio
juucustodio / FormPage.xaml
Created Jul 27, 2019
Example of how to work with MVVM pattern using the MVVMCoffee nuget package - http://julianocustodio.com/mvvmcoffee
View FormPage.xaml
<?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="Sample.Views.FormPage"
Title="{Binding TitlePage}">
<ContentPage.Content>
<StackLayout Margin="20">
<StackLayout>
<Label Text="Example of Customer object for demonstrate using interface INotifyPropertyChanged"
HorizontalTextAlignment="Center"/>
@juucustodio
juucustodio / MainPage.xaml
Created Jul 27, 2019
Example of how to work with MVVM pattern using the MVVMCoffee nuget package - http://julianocustodio.com/mvvmcoffee
View MainPage.xaml
<?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:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
x:Class="Sample.MainPage"
Title="{Binding TitlePage}">
<StackLayout Margin="20" VerticalOptions="Center">
@juucustodio
juucustodio / App.xaml.cs
Created Jul 27, 2019
Example of how to work with MVVM pattern using the MVVMCoffee nuget package - http://julianocustodio.com/mvvmcoffee
View App.xaml.cs
using Xamarin.Forms;
namespace Sample
{
public partial class App : Application
{
public App()
{
InitializeComponent();
@juucustodio
juucustodio / MainViewModel.cs
Created Jul 25, 2019
Example of how to work with MVVM pattern using the MVVMCoffee nuget package - http://julianocustodio.com/mvvmcoffee
View MainViewModel.cs
using MVVMCoffee.ViewModels;
namespace Sample.ViewModels
{
public class MainViewModel : BaseViewModel
{
public MainViewModel()
{
}
You can’t perform that action at this time.