gzu-liyujiang / gzu-liyujiang/AndroidPicker

ImagePicker导致fragment自定义的入场动画失效

Open
#264 4 comments 0 reactions 0 assignees View on GitHub
discuss question
Dominant language
Java
Stars
6.8k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

supportFragmentManager.beginTransaction()
.setCustomAnimations(
R.anim.translate_enter_bottom_to_top,
R.anim.translate_exit_top_to_bottom,
R.anim.translate_pop_enter,
R.anim.translate_exit_top_to_bottom
)
.add(R.id.contentContainer, editCommentFragment, EditCommentFragment::class.simpleName)
.addToBackStack(null)
.commitAllowingStateLoss()
引入ImagePicker后,执行类似上面的代码,R.anim.translate_enter_bottom_to_top这个动画没有执行,去掉ImagePicker后就正常了

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.