You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
call View.onAttachedToWindow() method
This commit is contained in:
@@ -5,6 +5,12 @@ import android.animation.TimeInterpolator;
|
||||
|
||||
public class ViewPropertyAnimator {
|
||||
|
||||
private View view;
|
||||
|
||||
public ViewPropertyAnimator(View view) {
|
||||
this.view = view;
|
||||
}
|
||||
|
||||
public void cancel() {}
|
||||
|
||||
public ViewPropertyAnimator setInterpolator(TimeInterpolator interpolator) {
|
||||
@@ -18,6 +24,7 @@ public class ViewPropertyAnimator {
|
||||
}
|
||||
|
||||
public ViewPropertyAnimator alpha(float alpha) {
|
||||
view.setAlpha(alpha);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user