feat(sprint-3): apply Survey Teal field UI
This commit is contained in:
@@ -32,6 +32,16 @@ public partial class MapPage : ContentPage
|
||||
protected override async void OnAppearing()
|
||||
{
|
||||
base.OnAppearing();
|
||||
await RefreshMapAsync();
|
||||
}
|
||||
|
||||
private async void OnRefreshClicked(object? sender, EventArgs e)
|
||||
{
|
||||
await RefreshMapAsync();
|
||||
}
|
||||
|
||||
private async Task RefreshMapAsync()
|
||||
{
|
||||
await EnsureMapCreatedAsync();
|
||||
var points = await _viewModel.LoadPointsAsync();
|
||||
ShowPoints(points);
|
||||
|
||||
Reference in New Issue
Block a user