Skip to content

Instantly share code, notes, and snippets.

View wesjon's full-sized avatar

Wesley Jonathan Marcolino wesjon

  • Concrete
  • São Paulo, Brazil
  • X @wesjon
View GitHub Profile
@wesjon
wesjon / build.gradle
Created July 7, 2021 20:35
Compose Gradle configuration
android {
defaultConfig {
...
minSdkVersion 21
}
buildFeatures {
// Enables Jetpack Compose for this module
compose true
}
@wesjon
wesjon / ThemeExample.kt
Last active July 16, 2021 13:55
A theme in Jetpack Compose example
@Composable
fun ContactList() {
MyTheme {
// Todos os composables deste bloco irão herdar o aspecto visual de MyTheme
Text("Hello world")
}
}
@Composable
fun MyTheme(