43 lines
965 B
C#
43 lines
965 B
C#
using Xamarin.Forms;
|
|
using Xamarin.Forms.Xaml;
|
|
|
|
namespace MobileApp1.Views
|
|
{
|
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
|
public partial class LoginPage : ContentPage
|
|
{
|
|
protected bool isBusy = false;
|
|
//public int PageIndex { get; set; } = 0;
|
|
|
|
public LoginPage()
|
|
{
|
|
InitializeComponent();
|
|
|
|
//indicatorView1.ItemsSource = new List<ContentView>() {
|
|
// new LandingLoginView(),
|
|
// new LandingRecoveryView(),
|
|
// new LandingAboutView()
|
|
//};
|
|
//indicatorView1.templ
|
|
|
|
indicatorView1.Position = 0;
|
|
|
|
}
|
|
|
|
public bool IsBusy
|
|
{
|
|
get => isBusy;
|
|
set
|
|
{
|
|
isBusy = value;
|
|
|
|
Device.BeginInvokeOnMainThread(() =>
|
|
{
|
|
carouselView1.IsSwipeEnabled = !value;
|
|
|
|
});
|
|
}
|
|
}
|
|
|
|
}
|
|
} |