Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 478 Bytes
using XamForms.Enhanced.ViewModels;
namespace UXAnalytics
{
public class MainPageViewModel : BaseViewModel
{
private ILogger<MainPageViewModel> logger;
public MainPageViewModel()
{
logger = new Logger<MainPageViewModel>();
}
public void OnViewAppearing()
{
logger.StartLogging();
}
public void OnViewDisappearing()
{
logger.EndLogging();
}
}
}
You can’t perform that action at this time.