You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
383 B
21 lines
383 B
using DataPersistence;
|
|
using Model;
|
|
|
|
namespace Views;
|
|
|
|
public partial class MyProfil : ContentPage
|
|
{
|
|
public DataManager DataMgr = (App.Current as App).DataMgr;
|
|
public User user { get; private set; }
|
|
|
|
|
|
public MyProfil()
|
|
{
|
|
DataMgr = new DataManager(new Stubs());
|
|
|
|
user = DataMgr.Data[nameof(User)].Cast<User>().Last();
|
|
InitializeComponent();
|
|
|
|
BindingContext = user;
|
|
}
|
|
} |