Created
October 9, 2022 14:09
-
-
Save Syex/b743c8efa8ca94da7c960e72f3521875 to your computer and use it in GitHub Desktop.
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
class UserView private constructor( | |
private val binding: UserViewBinding, | |
) { | |
companion object { | |
fun inflate( | |
inflater: LayoutInflater, | |
container: ViewGroup?, | |
) = UserView( | |
UserViewBinding.inflate( | |
inflater, | |
container, | |
false | |
) | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment