Files
PlantBox/PlantBox.Client/PlantBox.Client/Forms/HomePage.xaml.cs
Eveldee e64979e42f End HomePage interface
Logic is coming... soon or not
2019-03-25 21:48:48 +01:00

31 lines
710 B
C#

using PlantBox.Client.Forms.Plant;
using PlantBox.Client.Models;
using PlantBox.Shared.Communication.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace PlantBox.Client.Forms
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class HomePage : ContentPage
{
public HomePage()
{
InitializeComponent();
}
private async void ListView_ItemTapped(object sender, ItemTappedEventArgs e)
{
var plant = (PlantInfo)e.Item;
await Navigation.PushAsync(new PlantPage(plant));
}
}
}