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
protected override void OnAppearing() | |
{ | |
if (!App.IsUserLoggedIn) | |
{ | |
App.NavigationService.NavigateModalAsync(PageNames.LoginPage, false); | |
} | |
base.OnAppearing(); | |
} |
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
public LoginPage () | |
{ | |
InitializeComponent (); | |
BindingContext = ViewModel; | |
UsernameEntry.Completed += (sender, args) => { PasswordEntry.Focus(); }; | |
PasswordEntry.Completed += (sender, args) => { ViewModel.AuthenticateCommand.Execute(null); }; | |
} |
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
#time | |
open System.IO | |
open System.Globalization | |
let EnumerateDirectories path = | |
Directory.EnumerateDirectories(path) |> Seq.toList | |
let isObjOrBinFolder (folderName:string) = | |
folderName.EndsWith("obj", true, CultureInfo.InvariantCulture) || folderName.EndsWith("bin", true, CultureInfo.InvariantCulture) |
OlderNewer