Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Update namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
shyunMin committed Aug 29, 2019
1 parent 1a7d650 commit f80a57e
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
@@ -1,4 +1,3 @@
using System;
using ElmSharp;
using Tizen.NET.MaterialComponents;
using Xamarin.Forms.Platform.Tizen;
Expand Down
@@ -1,5 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using ElmSharp;
using Tizen.NET.MaterialComponents;
Expand Down
@@ -1,5 +1,4 @@
using Xamarin.Forms.Platform.Tizen;
using TForms = Xamarin.Forms.Platform.Tizen.Forms;

namespace Xamarin.Forms.Material.Tizen
{
Expand All @@ -11,7 +10,7 @@ public MaterialShellItemRenderer(IFlyoutController flyoutController, ShellItem i

protected override IShellTabs CreateTabs()
{
return new MaterialShellTabs(TForms.NativeParent);
return new MaterialShellTabs(Forms.NativeParent);
}

protected override ShellSectionNavigation CreateShellSectionNavigation(IFlyoutController flyoutController, ShellSection section)
Expand Down
11 changes: 4 additions & 7 deletions Xamarin.Forms.Material.Tizen/Shell/MaterialShellRenderer.cs
@@ -1,9 +1,6 @@
using System.Collections.Generic;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Tizen;
using Xamarin.Forms;
using Xamarin.Forms.Material.Tizen;
using TForms = Xamarin.Forms.Platform.Tizen.Forms;
using Tizen.NET.MaterialComponents;
using Xamarin.Forms.Platform.Tizen;

[assembly: ExportRenderer(typeof(Shell), typeof(MaterialShellRenderer), new[] { typeof(VisualMarker.MaterialVisual) })]
namespace Xamarin.Forms.Material.Tizen
Expand All @@ -12,12 +9,12 @@ public class MaterialShellRenderer : ShellRenderer
{
protected override INavigationDrawer CreateNavigationDrawer()
{
return new MaterialNavigationDrawer(TForms.NativeParent);
return new MaterialNavigationDrawer(Forms.NativeParent);
}

protected override INavigationView CreateNavigationView()
{
return new MaterialNavigationView(TForms.NativeParent);
return new MaterialNavigationView(Forms.NativeParent);
}

protected override ShellItemRenderer CreateShellItem(ShellItem item)
Expand Down
@@ -1,5 +1,4 @@
using Xamarin.Forms.Platform.Tizen;
using TForms = Xamarin.Forms.Platform.Tizen.Forms;

namespace Xamarin.Forms.Material.Tizen
{
Expand Down
@@ -1,5 +1,4 @@
using Xamarin.Forms.Platform.Tizen;
using TForms = Xamarin.Forms.Platform.Tizen.Forms;

namespace Xamarin.Forms.Material.Tizen
{
Expand All @@ -11,7 +10,7 @@ public MaterialShellSectionRenderer(ShellSection section) : base(section)

protected override IShellTabs CreateToolbar()
{
return new MaterialShellTabs(TForms.NativeParent);
return new MaterialShellTabs(Forms.NativeParent);
}
}
}
11 changes: 11 additions & 0 deletions Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj
Expand Up @@ -7,6 +7,16 @@
<TargetFrameworkIdentifier>Tizen</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<None Remove="Resource\arrow_left.png" />
<None Remove="Resource\dots_horizontal.png" />
<None Remove="Resource\menu.png" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resource\arrow_left.png" />
<EmbeddedResource Include="Resource\dots_horizontal.png" />
<EmbeddedResource Include="Resource\menu.png" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Tizen.NET" Version="4.0.0" />
Expand All @@ -15,4 +25,5 @@
<ItemGroup>
<ProjectReference Include="..\Xamarin.Forms.Core\Xamarin.Forms.Core.csproj" />
</ItemGroup>

</Project>

0 comments on commit f80a57e

Please sign in to comment.