Skip to content

Commit

Permalink
feat:improve PAGView code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
fanmingyi committed Sep 21, 2023
1 parent e55ea25 commit a868c96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions android/libpag/src/main/java/org/libpag/PAGView.java
Original file line number Diff line number Diff line change
Expand Up @@ -634,9 +634,9 @@ public void onAnimationEnd(PAGAnimator animator) {
@Override
public void setVisibility(int visibility) {
super.setVisibility(visibility);
//When calling the setVisibility function,
//it does not necessarily trigger a callback to the onVisibilityAggregated method.
//Therefore, it is necessary to handle this specific situation on your own.
// When calling the setVisibility function,
// it does not necessarily trigger a callback to the onVisibilityAggregated method.
// Therefore, it is necessary to handle this specific situation on your own.
checkVisible();
}

Expand Down

0 comments on commit a868c96

Please sign in to comment.