-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from PavloLukianets/dev/cleanup_handlers_net8
net8 + handlers + cleanup
- Loading branch information
Showing
58 changed files
with
292 additions
and
394 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -348,3 +348,6 @@ MigrationBackup/ | |
|
||
# Ionide (cross platform F# VS Code tools) working folder | ||
.ionide/ | ||
|
||
# Rider | ||
.idea/ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Microsoft.Maui.Handlers; | ||
|
||
namespace PanCardView; | ||
|
||
public partial class CardsViewHandler : LayoutHandler | ||
{ | ||
public static IPropertyMapper<CardsView, LayoutHandler> PropertyMapper = new PropertyMapper<CardsView, LayoutHandler>(Mapper) | ||
{ | ||
#if IOS | ||
[nameof(CardsView.IsVerticalSwipeEnabled)] = MapIsVerticalSwipeEnabled, | ||
[nameof(CardsView.IsUserInteractionEnabled)] = MapIsUserInteractionEnabled | ||
#endif | ||
}; | ||
|
||
public CardsViewHandler() : base(PropertyMapper) | ||
{ | ||
} | ||
} |
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
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 |
---|---|---|
@@ -1,24 +1,21 @@ | ||
using System.ComponentModel; | ||
using Microsoft.Maui; | ||
using System.ComponentModel; | ||
using static PanCardView.Resources.ResourcesInfo; | ||
|
||
using AbsoluteLayout = Microsoft.Maui.Controls.Compatibility.AbsoluteLayout; | ||
|
||
namespace PanCardView.Controls | ||
{ | ||
public class LeftArrowControl : ArrowControl | ||
{ | ||
public LeftArrowControl() | ||
{ | ||
{ | ||
IsRight = false; | ||
AbsoluteLayout.SetLayoutBounds(this, new Rect(0, .5, -1, -1)); | ||
} | ||
|
||
protected override ImageSource DefaultImageSource => WhiteLeftArrowImageSource; | ||
protected override ImageSource DefaultImageSource => WhiteLeftArrowImageSource; | ||
|
||
[EditorBrowsable(EditorBrowsableState.Never)] | ||
public new static void Preserve() | ||
{ | ||
[EditorBrowsable(EditorBrowsableState.Never)] | ||
public new static void Preserve() | ||
{ | ||
} | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
using System; | ||
|
||
namespace PanCardView.Enums | ||
namespace PanCardView.Enums | ||
{ | ||
[Flags] | ||
public enum InteractionState | ||
|
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 |
---|---|---|
@@ -1,6 +1,4 @@ | ||
using System; | ||
|
||
namespace PanCardView.Enums | ||
namespace PanCardView.Enums | ||
{ | ||
[Flags] | ||
public enum InteractionType | ||
|
Oops, something went wrong.