Created
December 29, 2019 11:27
-
-
Save vani2/094af32eb94e1448ff8d7e6fee367837 to your computer and use it in GitHub Desktop.
Jetpack Compose backward capability
This file contains hidden or 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
| @Composable | |
| @GenerateView | |
| fun Greeting(name: String) {/* ... */} | |
| <GreetingView android:id="@+id/greeting" | |
| app:name="@string/greeting_name" /> | |
| val greeting: GreetingView = findViewById(R.id.greeting) | |
| greeting.setName("Jim") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment