Using supportFinishAfterTransition instead of finish
TinasheMzondiwa opened this issue · comments
Tinashe Mzondiwa commented
I have a shared element transition going into the DragDismissActivity.
My view does not transition back because you're using finish() in
@Override
public void onDragDismissed() {
super.onDragDismissed();
activity.finish();
}
Would it be possible to use activity.supportFinishAfterTransition()
instead?
Or is there a change I can do on my side?
Thanks!
Luke Klinker commented
Sure, does this work for you?
Commit: af46232
Tinashe Mzondiwa commented
Perfect!
Thanks a lot man.
Luke Klinker commented
No problem, I will merge and push out an update later today for it