Created
June 14, 2020 10:42
-
-
Save guyca/7aeb6a809ecc8b095ea697f8eb8bcda0 to your computer and use it in GitHub Desktop.
Find the from and to views which are involved in the transition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val fromView: View = ReactFindViewUtil.findView(from, fromViewNativeID)!! | |
ReactFindViewUtil.findView(toScreen, object : OnViewFoundListener { | |
override fun getNativeId(): String { | |
return enteringViewNativeID | |
} | |
override fun onViewFound(to: View) { | |
// We found the corresponding entering view - move on to the next step! | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment