implement MotionView.eventTime and VelocityTracker

This is needed to make androidx ViewPager work with touch input
This commit is contained in:
Julian Winkler
2024-02-25 17:41:26 +01:00
parent 8dafa41ea9
commit bcf252d3a6
6 changed files with 52 additions and 19 deletions

View File

@@ -19,5 +19,6 @@ public class EdgeEffect extends View {
public void onPull(float deltaDistance, float displacement) {}
public boolean isFinished() {return true;}
public void onRelease() {}
public void onAbsorb(int velocity) {}
}