Last active
February 22, 2020 00:48
-
-
Save jtmuller5/4ff522d8e8067839c12ce668f48b08ff to your computer and use it in GitHub Desktop.
This file contains hidden or 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
override fun onCreateView( | |
inflater: LayoutInflater, container: ViewGroup?, | |
savedInstanceState: Bundle? | |
): View? { | |
// Determine how shared elements are handled | |
sharedElementEnterTransition = TransitionInflater.from(this.context).inflateTransition(R.transition.change_bounds) | |
sharedElementReturnTransition = TransitionInflater.from(this.context).inflateTransition(R.transition.change_bounds) | |
// Inflate the layout for this fragment | |
return inflater.inflate(R.layout.fragment_home_second, container, false) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment