using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using CafeTerrace.Dependencies;
using CafeTerrace.Droid.Dependencies_Droid;
using Xamarin.Forms;
[assembly: Xamarin.Forms.Dependency(typeof(CloseApplication_Driod))]
namespace CafeTerrace.Droid.Dependencies_Droid
{
    public class CloseApplication_Driod : ICloseApplication
    {
        public void closeApplication()
        {
            var activity = (Activity)Forms.Context;
            activity.FinishAffinity();
        }
    }
}