Skip to content

Instantly share code, notes, and snippets.

Mostly Android stuff now, also FP

Jorge Castillo JorgeCastilloPrz

Mostly Android stuff now, also FP
View GitHub Profile
public class ResizeAnimation extends Animation {
final int startWidth;
final int targetWidth;
View view;
public ResizeAnimation(View view, int targetWidth) {
this.view = view;
this.targetWidth = targetWidth;
startWidth = view.getWidth();
You can’t perform that action at this time.