Skip to content

[FR] Switch to AppCompatActivity #5785

@farfromrefug

Description

@farfromrefug

Hi,

I was trying to implement shared elements animations using this tuto:
https://android-developers.googleblog.com/2018/02/continuous-shared-element-transitions.html

To do that we need to use AppCompatActivity, compat Fragment ....
For that the whole Nativescript framework needs to switch to support v4 classes (frame, activity, fragment, fragment.transition).
I started to work on that but it's not easy because the FragmentManager does not have a loadAnimator but a loadAnimation. Which means it does not use animators but animations.

Also this will be a requirement as the android.app.FragmentManager is deprecated in P
:https://developer.android.com/reference/android/app/FragmentManager

If you are ok with that i can make a PR.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions