Created
July 2, 2020 12:25
-
-
Save dkhmelenko/68a2d1740df96e4d1ace12795cbb5750 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 BindableContent(val text: String) : ViewState.Inflatable(R.layout.view_state_content) { | |
override fun onBindView(view: View) { | |
val textView = view.findViewById<TextView>(R.id.text) | |
textView.text = text | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment