We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
implementation 'me.yokeyword:fragmentation:1.3.5'
使用这个版本的时候, extraTransaction() .addSharedElement(holder, getResources().getString(R.string.image_transition)) .replace(detailFragment); 这段代码是只有进入动画,没有返回动画。
extraTransaction() .addSharedElement(holder, getResources().getString(R.string.image_transition)) .replace(detailFragment);
如果使用 getFragmentManager().beginTransaction() .replace(R.id.main_cl_container, detailFragment) .addToBackStack(null) .addSharedElement(holder, getResources().getString(R.string.image_transition)) .commit(); 就是好的。(代码出自https://github.com/YoKeyword/Fragmentation/issues/638)
getFragmentManager().beginTransaction() .replace(R.id.main_cl_container, detailFragment) .addToBackStack(null) .addSharedElement(holder, getResources().getString(R.string.image_transition)) .commit();
这个肯定和官方代码的BUG没有什么关系了,望@YoKeyword 大神查验。
The text was updated successfully, but these errors were encountered:
How can i use "start" fragment with SharedElement?
Sorry, something went wrong.
fix #949 #942 extraTransaction().setCustomAnimations() exitAnimatio…
extraTransaction().setCustomAnimations()
e43ead1
…n is not working
v1.3.6已修复 :)
No branches or pull requests
implementation 'me.yokeyword:fragmentation:1.3.5'
使用这个版本的时候,
extraTransaction() .addSharedElement(holder, getResources().getString(R.string.image_transition)) .replace(detailFragment);
这段代码是只有进入动画,没有返回动画。
如果使用
getFragmentManager().beginTransaction() .replace(R.id.main_cl_container, detailFragment) .addToBackStack(null) .addSharedElement(holder, getResources().getString(R.string.image_transition)) .commit();
就是好的。(代码出自https://github.com/YoKeyword/Fragmentation/issues/638)
这个肯定和官方代码的BUG没有什么关系了,望@YoKeyword 大神查验。
The text was updated successfully, but these errors were encountered: