Commit 99273f4
Replace deprecated postOnAnimationDelayed calls (#54285)
Summary:
Pull Request resolved: #54285
`View#postOnAnimationDelayed` has existed [since API 16](https://developer.android.com/reference/android/view/View#postOnAnimationDelayed(java.lang.Runnable,%20long)) and has been marked as deprecated in ViewCompat [since 1.13.0](https://developer.android.com/reference/androidx/core/view/ViewCompat#postOnAnimationDelayed(android.view.View,java.lang.Runnable,long)). Let's clean it up!
Changelog: [Internal]
Reviewed By: alanleedev
Differential Revision: D85569478
fbshipit-source-id: 7cedf59c9c8fe44d2cec63d7539d955a4fa597e31 parent 2810128 commit 99273f4
2 files changed
Lines changed: 12 additions & 16 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
832 | | - | |
833 | | - | |
| 832 | + | |
834 | 833 | | |
835 | 834 | | |
836 | 835 | | |
| |||
1132 | 1131 | | |
1133 | 1132 | | |
1134 | 1133 | | |
1135 | | - | |
1136 | | - | |
| 1134 | + | |
| 1135 | + | |
1137 | 1136 | | |
1138 | 1137 | | |
1139 | 1138 | | |
| |||
1162 | 1161 | | |
1163 | 1162 | | |
1164 | 1163 | | |
1165 | | - | |
1166 | | - | |
| 1164 | + | |
| 1165 | + | |
1167 | 1166 | | |
1168 | 1167 | | |
1169 | 1168 | | |
1170 | 1169 | | |
1171 | | - | |
1172 | | - | |
| 1170 | + | |
1173 | 1171 | | |
1174 | 1172 | | |
1175 | 1173 | | |
| |||
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
683 | 683 | | |
684 | 684 | | |
685 | 685 | | |
686 | | - | |
687 | | - | |
| 686 | + | |
688 | 687 | | |
689 | 688 | | |
690 | 689 | | |
| |||
900 | 899 | | |
901 | 900 | | |
902 | 901 | | |
903 | | - | |
904 | | - | |
| 902 | + | |
| 903 | + | |
905 | 904 | | |
906 | 905 | | |
907 | 906 | | |
| |||
930 | 929 | | |
931 | 930 | | |
932 | 931 | | |
933 | | - | |
934 | | - | |
| 932 | + | |
| 933 | + | |
935 | 934 | | |
936 | 935 | | |
937 | 936 | | |
938 | 937 | | |
939 | | - | |
940 | | - | |
| 938 | + | |
941 | 939 | | |
942 | 940 | | |
943 | 941 | | |
| |||
0 commit comments