Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to transition from fragment to activity? #39

Open
objectorientedperson opened this issue Sep 20, 2016 · 5 comments
Open

How to transition from fragment to activity? #39

objectorientedperson opened this issue Sep 20, 2016 · 5 comments

Comments

@objectorientedperson
Copy link

Hi there, first off thanks for your great work. As far as I saw in your samples you have activity-to-activity and fragment-to-fragment transitions. How about the transitions between activity-to-fragment and vice versa?

I have tried it with your samples but my image view gets disappears during transition. How to overcome that?

Thanks in advance.

@Hightower87
Copy link

I've encountered same problem, the transtion is invisible.

@lovejjfg
Copy link
Contributor

did you called toFragment.setArguments(bundle) after called FragmentTransitionLauncher .with(v.getContext()) .from(v) .prepare(toFragment)?

@mixailo90
Copy link

i would really like to know how to do this...i got recycle view with items in fragment,and when i click it just skips whole animation to new activity that is details of that item...

@objectorientedperson
Copy link
Author

@lovejjfg actually that is used to make a transition from fragment-to-fragment. In my second activity, I don't have any fragment.

@chnouman
Copy link

I'm also having trouble in use transition from fragment's adapter class my target is activity. Transition works fine but my activity loads its views first and then image reaches it's position how to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants