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:Geolocalizacion.View" | |
| xmlns:viewmodels="clr-namespace:Geolocalizacion.ViewModel" | |
| x:Class="Geolocalizacion.View.GeolocationPage" | |
| Title="Geolocalización"> | |
| <views:BasePage.BindingContext> | |
| <viewmodels:GeolocationViewModel /> | |
| </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
| using System.Reflection; | |
| using System.Runtime.CompilerServices; | |
| using System.Runtime.InteropServices; | |
| using Android.App; | |
| // General Information about an assembly is controlled through the following | |
| // set of attributes. Change these attribute values to modify the information | |
| // associated with an assembly. | |
| [assembly: AssemblyTitle("Geocodificacion.Android")] | |
| [assembly: AssemblyDescription("")] |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.Geocodificacion"> | |
| <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="27" /> | |
| <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | |
| <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
| <uses-feature android:name="android.hardware.location" android:required="false" /> | |
| <uses-feature android:name="android.hardware.location.gps" android:required="false" /> | |
| <uses-feature android:name="android.hardware.location.network" android:required="false" /> | |
| <application android:label="Geocodificacion.Android"></application> | |
| </manifest> |
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 | |
| { |
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
| <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
| 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
| 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
| <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> |