blob: 2ee7ea3e809337eb74bf0850ea1e3eac8e5569c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package ca.allanwang.kau.swipe;
/**
* Created by Allan Wang on 2017-07-05.
* <p>
* Collection of addition methods added into ViewDragHelper that weren't in the original
*/
interface ViewDragHelperExtras {
/**
* Sets the new size of a given edge
* Any touch within this range will be defined to have started from an edge
*
* @param size the new size in px
*/
void setEdgeSize(int size);
void setMaxVelocity(float maxVel);
float getMaxVelocity();
}
|