Created
October 30, 2017 03:54
-
-
Save HassanUsman/32a4af6071b40d9e851f721deba101d1 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 MainActivity : AppCompatActivity() { | |
lateinit var binding: ActivityMainBinding | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
binding = DataBindingUtil.setContentView(this, R.layout.activity_main) | |
binding.apply { | |
repositoryName.text = "learnyandroid.blogspot.com" | |
repositoryOwner.text = "Hassan Usman" | |
numberOfStarts.text = "1000 stars" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment