This file contains 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.Collections; | |
using System.Linq; | |
using Xamarin.Forms; | |
namespace DemoCarouselView | |
{ | |
public class IndicadoresCarousel : Grid | |
{ | |
private ImageSource UnselectedImageSource = null; |
This file contains 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.Collections.Generic; | |
using System.ComponentModel; | |
using Xamarin.Forms; | |
namespace DemoCarouselView | |
{ | |
public partial class IndicadoresPage : ContentPage, INotifyPropertyChanged | |
{ | |
public IndicadoresPage() | |
{ |
This file contains 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" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:local="clr-namespace:DemoCarouselView" | |
xmlns:forms="clr-namespace:Xamarin.Forms;assembly=Xamarin.Forms.CarouselView" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="DemoCarouselView.IndicadoresPage"> | |
<StackLayout> | |
<forms:CarouselView x:Name="ImageCarouselView" Position="{Binding Position, Mode=TwoWay}" | |
ItemsSource="{Binding ListaImagens}" > |
This file contains 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.Forms.Xaml; | |
namespace MeuApp | |
{ | |
[XamlCompilation (XamlCompilationOptions.Compile)] | |
public class HomePage : ContentPage | |
{ | |
... | |
} | |
} |
This file contains 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.Forms.Xaml; | |
... | |
[assembly: XamlCompilation (XamlCompilationOptions.Compile)] | |
namespace MeuApp | |
{ | |
... | |
} |
This file contains 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
... | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |
... | |
<AotAssemblies>true</AotAssemblies> | |
... | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |
... | |
<AotAssemblies>true</AotAssemblies> | |
... |
This file contains 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.ComponentModel; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
namespace DemoLoading | |
{ | |
public partial class MainPage : ContentPage, INotifyPropertyChanged | |
{ | |
public MainPage() |
This file contains 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" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:local="clr-namespace:DemoLoading" | |
x:Class="DemoLoading.DemoLoadingPage" > | |
<StackLayout > | |
<Button x:Name="botao" Clicked="Show" Text="Login" TextColor="White" BackgroundColor="#3b5998" Margin="10,30,10,30"/> | |
<ActivityIndicator x:Name="actInd" | |
IsRunning="{Binding IsLoading}" |
This file contains 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" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:local="clr-namespace:DemoGPS" | |
x:Class="DemoGPS.MainPageDemoGPS"> | |
<StackLayout Margin="0,25,0,0"> | |
<Button Text="Localização" Clicked="GetPosition" BackgroundColor="#EEE" /> | |
<Label Text="Latitude" FontSize="20" HorizontalOptions="CenterAndExpand" /> | |
<Label x:Name="LatitudeLabel" FontSize="30" HorizontalOptions="CenterAndExpand" /> |
This file contains 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 Plugin.Geolocator; | |
using System; | |
using Xamarin.Forms; | |
namespace DemoGPS | |
{ | |
public partial class MainPageDemoGPS : ContentPage | |
{ | |
public MainPageDemoGPS() | |
{ |
OlderNewer