Request per Leowest. Trouble with editor text
A tool for sharing your source code with the world!
builder.Services.AddSingleton<MainPage>();
builder.Services.AddSingleton<Logs>();private Logs _logs;
public MainPage(Logs logs)
{
InitializeComponent();
_logs = logs;
}private async void btn_Home_Clicked(object sender, EventArgs e)
{
await _logs.LogThis("Home Pressed.");
}public async Task LogThis(string text)
{
Logtext.Text += message;
}