Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfriese committed Jul 26, 2014
1 parent 56459b2 commit d7ed144
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -98,6 +98,7 @@ private final class MyItemView extends FrameLayout implements WearableListView.I

final CircledImageView image;
final TextView text;
private float mScale;

public MyItemView(Context context) {
super(context);
Expand All @@ -118,13 +119,14 @@ public float getProximityMaxValue() {

@Override
public float getCurrentProximityValue() {
return image.getCircleRadius();
return mScale;
}

@Override
public void setScalingAnimatorValue(float value) {
image.setCircleRadius(value);
image.setCircleRadiusPressed(value);
mScale = value;
image.setCircleRadius(mScale);
image.setCircleRadiusPressed(mScale);
}

@Override
Expand Down

0 comments on commit d7ed144

Please sign in to comment.