Let's set the basic structure of the Swiper control, as follows:
- Open the SwiperControl.xaml file.
- Replace the content with the code marked in bold in the following code block:
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Swiper.Controls.SwiperControl">
<ContentView.Content>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="100" />
</Grid.ColumnDefinitions>
<!-- ContentView for photo here -->
<!-- StackLayout for like here -->
<!-- StackLayout for deny here -->
</Grid...