This file contains hidden or 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.Threading.Tasks; | |
| using Acelerometro.ViewModel; | |
| using Xamarin.Forms; | |
| namespace Acelerometro.View | |
| { | |
| public class BasePage : ContentPage | |
| { | |
| public BasePage() | |
| { |
This file contains hidden or 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
| <views:BasePage xmlns="http://xamarin.com/schemas/2014/forms" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
| xmlns:views="clr-namespace:Acelerometro.View" | |
| xmlns:viewmodels="clr-namespace:Acelerometro.ViewModel" | |
| x:Class="Acelerometro.View.AccelerometerPage" | |
| Title="Accelerometer"> | |
| <views:BasePage.BindingContext> | |
| <viewmodels:AccelerometerViewModel /> | |
| </views:BasePage.BindingContext> |
This file contains hidden or 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
| <views:BasePage xmlns="http://xamarin.com/schemas/2014/forms" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
| xmlns:views="clr-namespace:Acelerometro.View" | |
| xmlns:viewmodels="clr-namespace:Acelerometro.ViewModel" | |
| x:Class="Acelerometro.View.AccelerometerPage" | |
| Title="Accelerometer"> | |
| <views:BasePage.BindingContext> | |
| <viewmodels:AccelerometerViewModel /> | |
| </views:BasePage.BindingContext> |
This file contains hidden or 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
| <views:BasePage | |
| x:Class="Bateria.View.BatteryPage" | |
| xmlns="http://xamarin.com/schemas/2014/forms" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
| xmlns:viewmodels="clr-namespace:Bateria.ViewModel" | |
| xmlns:views="clr-namespace:Bateria.View" | |
| Title="Battery"> | |
| <views:BasePage.BindingContext> | |
| <viewmodels:BatteryViewModel /> | |
| </views:BasePage.BindingContext> |
This file contains hidden or 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
| namespace Bateria.View | |
| { | |
| public partial class BatteryPage : BasePage | |
| { | |
| public BatteryPage() | |
| { | |
| InitializeComponent(); | |
| } | |
| } | |
| } |
This file contains hidden or 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 Xamarin.Essentials; | |
| namespace Bateria.ViewModel | |
| { | |
| public class BatteryViewModel : BaseViewModel | |
| { | |
| public BatteryViewModel() | |
| { | |
| } |
This file contains hidden or 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 Xamarin.Essentials; | |
| namespace Bateria.ViewModel | |
| { | |
| public class BatteryViewModel : BaseViewModel | |
| { | |
| public BatteryViewModel() | |
| { | |
| } |
This file contains hidden or 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
| <views:BasePage xmlns="http://xamarin.com/schemas/2014/forms" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
| xmlns:views="clr-namespace:Geocodificacion.View" | |
| xmlns:viewmodels="clr-namespace:Geocodificacion.ViewModel" | |
| x:Class="Geocodificacion.View.GeocodingPage" | |
| Title="Geocoding"> | |
| <views:BasePage.BindingContext> | |
| <viewmodels:GeocodingViewModel /> | |
| </views:BasePage.BindingContext> |
This file contains hidden or 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
| namespace Geocodificacion.View | |
| { | |
| public partial class GeocodingPage : BasePage | |
| { | |
| public GeocodingPage() | |
| { | |
| InitializeComponent(); | |
| } | |
| } | |
| } |
This file contains hidden or 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.Linq; | |
| using System.Windows.Input; | |
| using Xamarin.Essentials; | |
| using Xamarin.Forms; | |
| namespace Samples.ViewModel | |
| { | |
| public class GeocodingViewModel : BaseViewModel | |
| { |