-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://github.com/AndreiMisiukevich/TouchEffect/issues/58
- Loading branch information
1 parent
4780d56
commit eb3f002
Showing
12 changed files
with
217 additions
and
52 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
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
7 changes: 7 additions & 0 deletions
7
TouchEffect/Delegates/TEffectUserInteractionStateChangedHandler.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,7 @@ | ||
using TouchEffect.EventArgs; | ||
using Xamarin.Forms; | ||
|
||
namespace TouchEffect.Delegates | ||
{ | ||
public delegate void TEffectUserInteractionStateChangedHandler(VisualElement sender, UserInteractionStateChangedEventArgs args); | ||
} |
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,9 @@ | ||
| ||
namespace TouchEffect.Enums | ||
{ | ||
public enum UserInteractionState | ||
{ | ||
Idle, | ||
Running | ||
} | ||
} |
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 |
---|---|---|
|
@@ -10,4 +10,5 @@ public TouchStateChangedEventArgs(TouchState state) | |
|
||
public TouchState State { get; } | ||
} | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
TouchEffect/EventArgs/UserInteractionStateChangedEventArgs.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,13 @@ | ||
using TouchEffect.Enums; | ||
namespace TouchEffect.EventArgs | ||
{ | ||
public class UserInteractionStateChangedEventArgs : System.EventArgs | ||
{ | ||
public UserInteractionStateChangedEventArgs(UserInteractionState userInteractionstate) | ||
{ | ||
UserInteractionState = userInteractionstate; | ||
} | ||
|
||
public UserInteractionState UserInteractionState { get; } | ||
} | ||
} |
Oops, something went wrong.