public ArtifactVersionListPage(Artifact mavenArtifact) { InitializeComponent(); Title = mavenArtifact.Id; viewModel = new ViewModels.ArtifactVersionListViewModel(mavenArtifact); BindingContext = viewModel; }
public ArtifactVersionListPage(string groupId, string artifactId) { InitializeComponent(); var mavenArtifact = MavenService.GetArtifact(groupId, artifactId); if (mavenArtifact == null) { return; } Title = mavenArtifact.Id; viewModel = new ViewModels.ArtifactVersionListViewModel(mavenArtifact); BindingContext = viewModel; }