forked from rookiejava/maui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tizen] Update bottom tabs of Shell (dotnet#552)
* [Tizen] Update bottom tabs of Shell * Apply review feedback * Update ShellSectionItemView based on PR feedback
- Loading branch information
Showing
12 changed files
with
269 additions
and
124 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
src/Controls/src/Core/Handlers/Shell/Tizen/ShellContentItemAdaptor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#nullable enable | ||
|
||
using System.Collections; | ||
using Microsoft.Maui.Controls.Handlers.Items; | ||
|
||
namespace Microsoft.Maui.Controls.Platform | ||
{ | ||
class ShellContentItemAdaptor : ItemTemplateAdaptor | ||
{ | ||
public ShellContentItemAdaptor(Element element, IEnumerable items) : base(element, items, GetTemplate()) { } | ||
|
||
protected override bool IsSelectable => true; | ||
|
||
static DataTemplate GetTemplate() | ||
{ | ||
return new DataTemplate(() => | ||
{ | ||
return new ShellContentItemView(); | ||
}); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 0 additions & 50 deletions
50
src/Controls/src/Core/Handlers/Shell/Tizen/ShellItemTemplateAdaptor.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.