Skip to content

Enable overlap for custom transitions #4464

Closed

Description

@danielgek

When using a custom transition for android (example), these lines that make overlap possible for both fragments are never called.

Possible fix:

Adding the same logic before this line if the sdk version is greater than 21

i can summit a pr for this if it's ok with the team

Which platform(s) does your issue occur on?

  • Android
  • CLI: 3.0.4
  • Cross-platform modules: 3.0.1
  • Runtime(s): 3.0.1

Activity

  1. NickIliev commented on Jun 28, 2017

    @NickIliev
    Contributor

    @danielgek we are always happy to receive PRs from our community members! Please take a look at our contributing guide and let me know if you need any assistance on that matter.

  2. hshristov commented on Jul 3, 2017

    @hshristov
    Contributor

    Hi @danielgek,

    I'm in the process of rewriting most of transition.android.ts so I will add your change in my PR. Otherwise it will be hard for me to rebase over your changes. Are you ok with this plan?

  3. danielgek commented on Jul 3, 2017

    @danielgek
    ContributorAuthor

    @hshristov yes, no problem at all ;)

  4. hshristov commented on Jul 3, 2017

    @hshristov
    Contributor

    @danielgek I forgot to mention that while these APIs are called for lollipop transitions (e.g. API21+) they should not affect custom animation like the one you are doing (e.g. extending our Transition class produce android.animation.Animator instance, not android.transition.Transition)

  5. danielgek commented on Jul 3, 2017

    @danielgek
    ContributorAuthor

    @hshristov i see, but there is way of enabling overlap using android.animation.Animator instance ? can you include that on your rework ?

  6. added this to the milestone on Jul 10, 2017
  7. hshristov commented on Jul 19, 2017

    @hshristov
    Contributor

    @danielgek In my opinion they are overlapped by default.

  8. added
    ready for testTSC needs to test this and confirm against live production apps and automated test suites
    on Aug 7, 2017
  9. danielgek commented on Aug 8, 2017

    @danielgek
    ContributorAuthor

    Hi @hshristov sorry for the late response, only now i find a little time to read the android documentation more carefully and yes you are right, my bad!

  10. removed
    ready for testTSC needs to test this and confirm against live production apps and automated test suites
    on Aug 28, 2017
  11. lock commented on Aug 27, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  12. locked and limited conversation to collaborators on Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions