Skip to content

Commit

Permalink
Merge pull request #27 from Pomezny/master
Browse files Browse the repository at this point in the history
Fixed sample (xaml build error)
  • Loading branch information
AndreiMisiukevich committed May 14, 2018
2 parents 7c10fc2 + d4ee571 commit 16a7970
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Views\CardsSampleView.cs" />
<Compile Include="Views\SceneSampleView.cs" />
<Compile Include="ViewModels\CardSampleViewModel.cs" />
<Compile Include="ViewModels\CardsSampleViewModel.cs" />
<Compile Include="Views\CardsSampleCustomView.cs" />
<Compile Include="ViewModels\SharedSampleCustomViewModel.cs" />
<Compile Include="Views\CarouselSampleSrollView.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Title="Carousel Xaml">

<ContentPage.BindingContext>
<viewModels:SharedSampleViewModel/>
<viewModels:CardsSampleViewModel/>
</ContentPage.BindingContext>

<cards:CarouselView
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
using System.Collections.Generic;

using Xamarin.Forms;
using Xamarin.Forms.Xaml;

namespace PanCardViewSample.Views
{
public partial class CarouselSampleXamlView
{
public CarouselSampleXamlView()
{
InitializeComponent();
}
}
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class CarouselSampleXamlView : ContentPage
{
public CarouselSampleXamlView()
{
InitializeComponent();
}
}
}

0 comments on commit 16a7970

Please sign in to comment.