Skip to content

Instantly share code, notes, and snippets.

@Syex
Created October 9, 2022 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Syex/c59f7d5caeb74009ef66df8fad13fed2 to your computer and use it in GitHub Desktop.
Save Syex/c59f7d5caeb74009ef66df8fad13fed2 to your computer and use it in GitHub Desktop.
class UserFragment {
private var userView: UserView?
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View {
userView = UserView.inflate(inflater, container)
return userView!!.rootView
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment