Created
December 14, 2018 06:29
-
-
Save juyeong/d2bc837d6536fddc42a80354bcb62eea to your computer and use it in GitHub Desktop.
LayoutInflater
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 inflater: LayoutInflater = context.getSystemService(Context.LAYOUT_INFLATER_SERVICE) | |
val view: View = inflater.inflate(R.layout.my_layout, parent, false) |
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 inflater: LayoutInflater = context.getSystemService(Context.LAYOUT_INFLATER_SERVICE) | |
val view: View = inflater.inflate(R.layout.my_layout, parent, false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment