diff --git a/src/BookApp/BookApp.csproj b/src/BookApp/BookApp.csproj
index 56989ab..bce1c9e 100644
--- a/src/BookApp/BookApp.csproj
+++ b/src/BookApp/BookApp.csproj
@@ -72,9 +72,6 @@
-
- ListItemView.xaml
-
RatingView.xaml
@@ -84,9 +81,6 @@
-
- MSBuild:Compile
-
MSBuild:Compile
diff --git a/src/BookApp/Composants/ListItemView.xaml b/src/BookApp/Composants/ListItemView.xaml
deleted file mode 100644
index c0bdaf1..0000000
--- a/src/BookApp/Composants/ListItemView.xaml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/BookApp/Composants/ListItemView.xaml.cs b/src/BookApp/Composants/ListItemView.xaml.cs
deleted file mode 100644
index d0037e7..0000000
--- a/src/BookApp/Composants/ListItemView.xaml.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-namespace BookApp.Composants
-{
- public partial class ListItemView : ContentView
- {
- public static readonly BindableProperty ButtonCommandProperty = BindableProperty.Create(nameof(ButtonCommand), typeof(Command), typeof(ListItemView));
-
- public Command ButtonCommand
- {
- get => (Command)GetValue(ButtonCommandProperty);
- set => SetValue(ButtonCommandProperty, value);
- }
-
- public ListItemView()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/src/BookApp/Pages/Filtrage.xaml b/src/BookApp/Pages/Filtrage.xaml
index 0afad1d..eb64abc 100644
--- a/src/BookApp/Pages/Filtrage.xaml
+++ b/src/BookApp/Pages/Filtrage.xaml
@@ -1,8 +1,6 @@
@@ -31,18 +29,8 @@
-
-
-
+
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/src/BookApp/Pages/Filtrage.xaml.cs b/src/BookApp/Pages/Filtrage.xaml.cs
index 9cd8b80..97786b6 100644
--- a/src/BookApp/Pages/Filtrage.xaml.cs
+++ b/src/BookApp/Pages/Filtrage.xaml.cs
@@ -5,6 +5,7 @@ namespace BookApp.Pages;
public partial class Filtrage : ContentPage
{
+ SearchBar searchBar = new SearchBar { Placeholder = "Search items..." };
public TousViewModel Data = new TousViewModel();
public Filtrage()
{
diff --git a/src/BookApp/ViewModel/SearchViewModel.cs b/src/BookApp/ViewModel/SearchViewModel.cs
deleted file mode 100644
index 22c7c9f..0000000
--- a/src/BookApp/ViewModel/SearchViewModel.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Linq;
-using System.Runtime.CompilerServices;
-using System.Text;
-using System.Threading.Tasks;
-using BookApp.Data;
-using System.Windows.Input;
-using BookApp.Model;
-using System.Collections.ObjectModel;
-
-namespace BookApp.ViewModel
-{
- public class SearchViewModel : INotifyPropertyChanged
- {
- public event PropertyChangedEventHandler PropertyChanged;
- public ObservableCollection BookCollection { get; set; } =
- new ObservableCollection();
-
- protected virtual void NotifyPropertyChanged([CallerMemberName] string propertyName = "")
- {
- PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
- }
-/*
- public ICommand PerformSearch => new Command((string query) =>
- {
- //SearchResults = DataService.GetSearchResults(query);
- SearchResults = BookCollection = BookCollection.Select(query);
- });
-
- private List searchResults = BookCollection.GetStubData();
- public List SearchResults
- {
- get
- {
- return searchResults;
- }
- set
- {
- searchResults = value;
- NotifyPropertyChanged();
- }
- }*/
- }
-}