Skip to content

Commit fcdd8e6

Browse files
committed
ack code review comments for predictive back cross activity sample
1 parent 21a2b4d commit fcdd8e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

samples/user-interface/predictiveback/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ stop using animation and to instead use animator and androidx transitions for mo
1313
override fun onCreate(savedInstanceState: Bundle?) {
1414
"..."
1515

16-
this.overrideActivityTransition(
16+
overrideActivityTransition(
1717
OVERRIDE_TRANSITION_OPEN,
1818
android.R.anim.fade_in,
1919
0
2020
)
2121

22-
this.overrideActivityTransition(
22+
overrideActivityTransition(
2323
OVERRIDE_TRANSITION_CLOSE,
2424
0,
2525
android.R.anim.fade_out

samples/user-interface/predictiveback/src/main/java/com/example/platform/ui/predictiveback/PBCustomCrossActivityAnimation.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ class PBCustomCrossActivityAnimation : AppCompatActivity() {
3232
binding = ActivityCustomCrossAnimationBinding.inflate(layoutInflater)
3333
setContentView(binding.root)
3434

35-
this.overrideActivityTransition(
35+
overrideActivityTransition(
3636
OVERRIDE_TRANSITION_OPEN,
3737
android.R.anim.fade_in,
3838
0
3939
)
4040

4141

42-
this.overrideActivityTransition(
42+
overrideActivityTransition(
4343
OVERRIDE_TRANSITION_CLOSE,
4444
0,
4545
android.R.anim.fade_out

0 commit comments

Comments
 (0)