i am doing crud operation through SQLite in xamarin but i want to show data from listview to entry so that i can update it but i don't know how to call selected item that is binded in xaml

```
    <ListView  ItemsSource="{Binding companylist}" SelectedItem="{Binding selectedname}" >
        <ListView.ItemTemplate>
            <DataTemplate>
                <ViewCell>
                    <Label Text="{Binding name}"/>
                </ViewCell>
            </DataTemplate>
        </ListView.ItemTemplate>
    </ListView>
    <StackLayout>

        <Entry Text="{Binding id}" IsVisible="False"/>
        <Entry Placeholder="Name" Text="{Binding name}"/>
        <Button Text="Update" Command="{Binding UpdateCompanyCommand}"/>
    </StackLayout>
</StackLayout>

```

and code in view model is

```
 public Command UpdateCompanyCommand { get; }
    async Task UpdateCompany()
    {
        var db = new SQLiteConnection(dbpath);
        Company company = new Company()
        {
            id=id,

            name = Name

        };
        db.Update(company);
        await Xamarin.Forms.Application.Current.MainPage.DisplayAlert("Message", "Name is Updated", "Ok");

    }

```