Skip to content

可以说一下实现的思路么,我看源码那个缩放比例看了好久,没有注释 #50

@kaka-gk

Description

@kaka-gk
      if ((!mIsFinished) && (mScale > 1.0D)) {
                float currentThreadTime=SystemClock.currentThreadTimeMillis();
                               float f1 = ((float) SystemClock.currentThreadTimeMillis()- 

(float) mStartTime) / (float) mDuration;
f2 = mScale - (mScale - 1.0F) * PullToZoomScrollViewEx.sInterpolator.getInterpolation(f1);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions