Design of SwipeGestureDetector

Mar 29, 2012 at 7:26 AM

Hi guys

just have some comments about SwipeGestureDetector class

1. Private constatns like SwipeMinimalLength and other should be converted to public properties so developer can configure swipe gesture he want to track in his own application

2. method ScanPositions should be protected, not private. So it can be reused in nested classes - now if you define class based on SwipeGestureDetector you have to reimplement ScanPositions

 

thanks,

Sergey

Coordinator
Apr 4, 2012 at 8:02 AM

Good point!

 

I will update the class according to your post :)