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
<Button Command="{Binding LoginCommand}" Text="Login" /> | |
private RelayCommand _loginCommand; | |
public RelayCommand LoginCommand | |
{ | |
get | |
{ | |
return _loginCommand | |
?? (_loginCommand = new RelayCommand( | |
async () => |
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
// Pass parameter to view model | |
var model = page.BindingContext as BaseViewModel; | |
if (model != null) | |
await model.OnNavigated(parameter); |
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 Definition.Interfaces; | |
using Mobile.ViewModel; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
namespace Mobile.View |
NewerOlder