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 / App.xaml.cs
Created Jan 15, 2020
Example of how to use Background Services in Xamarin.Forms applications. - http://julianocustodio.com/background-services
View App.xaml.cs
using DemoBackground.Services;
using Matcha.BackgroundService;
using Xamarin.Forms;
namespace DemoBackground
{
public partial class App : Application
{
public App()
{
@juucustodio
juucustodio / BackgroundService.cs
Created Jan 15, 2020
Example of how to use Background Services in Xamarin.Forms applications. - http://julianocustodio.com/background-services
View BackgroundService.cs
using System;
using System.Threading.Tasks;
using Matcha.BackgroundService;
namespace DemoBackground.Services
{
public class BackgroundService : IPeriodicTask
{
public TimeSpan Interval { get; set; }
@juucustodio
juucustodio / AppDelegate.cs
Created Jan 4, 2020
Example of how to use Background Services in Xamarin.Forms applications. - http://julianocustodio.com/background-services
View AppDelegate.cs
using Foundation;
using Matcha.BackgroundService.iOS;
using UIKit;
namespace DemoBackground.iOS
{
[Register("AppDelegate")]
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
@juucustodio
juucustodio / MainActivity.cs
Created Jan 4, 2020
Example of how to use Background Services in Xamarin.Forms applications. - http://julianocustodio.com/background-services
View MainActivity.cs
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.OS;
using Matcha.BackgroundService.Droid;
namespace DemoBackground.Droid
{
[Activity(Label = "DemoBackground", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
@juucustodio
juucustodio / PushPage.xaml.cs
Created Oct 21, 2019
Example of setting page navigation animations for your Xamarin.Forms applications - http://julianocustodio.com/animationnavigationpage
View PushPage.xaml.cs
using FormsControls.Base;
using Xamarin.Forms;
namespace DemoNavigation
{
public partial class PushPage : ContentPage, IAnimationPage
{
public IPageAnimation PageAnimation { get; } = new PushPageAnimation
{
Duration = AnimationDuration.Long,
@juucustodio
juucustodio / RotatePage.xaml.cs
Created Oct 21, 2019
Example of setting page navigation animations for your Xamarin.Forms applications - http://julianocustodio.com/animationnavigationpage
View RotatePage.xaml.cs
using FormsControls.Base;
using Xamarin.Forms;
namespace DemoNavigation
{
public partial class RotatePage : ContentPage, IAnimationPage
{
public IPageAnimation PageAnimation { get; } = new RotatePageAnimation
{
Duration = AnimationDuration.Long,
@juucustodio
juucustodio / RollPage.xaml.cs
Created Oct 21, 2019
Example of setting page navigation animations for your Xamarin.Forms applications - http://julianocustodio.com/animationnavigationpage
View RollPage.xaml.cs
using FormsControls.Base;
using Xamarin.Forms;
namespace DemoNavigation
{
public partial class RollPage : ContentPage, IAnimationPage
{
public IPageAnimation PageAnimation { get; } = new RollPageAnimation
{
Duration = AnimationDuration.Long,
@juucustodio
juucustodio / SlidePage.xaml.cs
Created Oct 21, 2019
Example of setting page navigation animations for your Xamarin.Forms applications - http://julianocustodio.com/animationnavigationpage
View SlidePage.xaml.cs
using System;
using System.Collections.Generic;
using FormsControls.Base;
using Xamarin.Forms;
namespace DemoNavigation
{
public partial class SlidePage : ContentPage, IAnimationPage
{
public IPageAnimation PageAnimation { get; } = new SlidePageAnimation
@juucustodio
juucustodio / FadePage.xaml.cs
Created Oct 21, 2019
Example of setting page navigation animations for your Xamarin.Forms applications - http://julianocustodio.com/animationnavigationpage
View FadePage.xaml.cs
using FormsControls.Base;
using Xamarin.Forms;
namespace DemoNavigation
{
public partial class FadePage : ContentPage, IAnimationPage
{
public IPageAnimation PageAnimation { get; } = new FadePageAnimation
{
Duration = AnimationDuration.Long,
@juucustodio
juucustodio / App.xaml.cs
Created Oct 20, 2019
Example of setting page navigation animations for your Xamarin.Forms applications - http://julianocustodio.com/animationnavigationpage
View App.xaml.cs
using FormsControls.Base;
using Xamarin.Forms;
namespace DemoNavigation
{
public partial class App : Application
{
public App()
{
InitializeComponent();
You can’t perform that action at this time.