Skip to content

Commit

Permalink
Revert ":sparkles: add swipe on article card list"
Browse files Browse the repository at this point in the history
This reverts commit 00f856c.
  • Loading branch information
pewho authored Dec 28, 2020
1 parent a579d57 commit 315f1a3
Show file tree
Hide file tree
Showing 20 changed files with 49 additions and 263 deletions.
41 changes: 19 additions & 22 deletions Smartway.UiComponent.Droid/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 0 additions & 18 deletions Smartway.UiComponent.Droid/Smartway.UiComponent.Droid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,24 +83,6 @@
<Name>Smartway.UiComponent</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-hdpi\icon_delete.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-ldpi\icon_delete.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-mdpi\icon_delete.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-xhdpi\icon_delete.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-xxhdpi\icon_delete.png" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable-xxxhdpi\icon_delete.png" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<ProjectExtensions>
<VisualStudio>
Expand Down
2 changes: 1 addition & 1 deletion Smartway.UiComponent.Sample.Android/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ protected override void OnCreate(Bundle savedInstanceState)
ToolbarResource = Resource.Layout.Toolbar;

base.OnCreate(savedInstanceState);
Xamarin.Forms.Forms.SetFlags("Expander_Experimental", "SwipeView_Experimental");
Xamarin.Forms.Forms.SetFlags("Expander_Experimental");
Xamarin.Essentials.Platform.Init(this, savedInstanceState);
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
LoadApplication(new App());
Expand Down
42 changes: 19 additions & 23 deletions Smartway.UiComponent.Sample.Android/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion Smartway.UiComponent.Sample/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<Button Text="SectionForm" Command="{Binding SectionForm}"/>
<Button Text="Indicators" Command="{Binding Indicators}"/>
<Button Text="SectionSheet" Command="{Binding SectionSheet}"/>
<Button Text="ArticleCardList" Command="{Binding ArticleCardList}"/>
<Button Text="ExpanderCard" Command="{Binding ExpanderCard}"/>
<Button Text="TopAppBar" Command="{Binding TopAppBar}"/>
<Button Text="Separator" Command="{Binding Separators}" />
Expand Down
7 changes: 0 additions & 7 deletions Smartway.UiComponent.Sample/MainPageViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Windows.Input;
using Smartway.UiComponent.FormsElements;
using Smartway.UiComponent.Sample.ArticleCardList;
using Smartway.UiComponent.Sample.ArticleCardList.ViewModels;
using Smartway.UiComponent.Sample.Basics;
using Smartway.UiComponent.Sample.ExpanderCard;
using Smartway.UiComponent.Sample.Buttons;
Expand Down Expand Up @@ -33,11 +31,6 @@ public class MainPageViewModel : ViewModel
await NavigateTo(new SectionSheetSample{ BindingContext = new SectionSheetSampleViewModel() });
});

public ICommand ArticleCardList => new Command(async () =>
{
await NavigateTo(new ArticleCardListSample() { BindingContext = new ArticleCardListSampleViewModel() });
});

public ICommand TopAppBar => new Command(async () =>
{
await NavigateTo(new TopAppBar.Views.TopAppBar{ BindingContext = new TopAppBarViewModel()});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="ArticleCardList\Views\ArticleCardListSample.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
<EmbeddedResource Update="Buttons\Button.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
Expand Down
Loading

0 comments on commit 315f1a3

Please sign in to comment.