Skip to content

Instantly share code, notes, and snippets.

@tpoisson
tpoisson / Dropdown.kt
Last active April 1, 2023 10:36
Android Jetpack Compose Dropdown
/**
* Parameterized Dropdown for Jetpack Compose and Material3
* @param options list of options to display
* @param selectedValue the selected value for this field
* @param itemValue method called to determine the selected value matching options
* @param textValue the method called on object to display its label
* @param placeholder the placeholder displayed in the textfield
* @param enabled enable or disable the field
* @param onChange called when option is selected
@tpoisson
tpoisson / DatePicker.kt
Last active April 11, 2024 09:05
DatePicker for Jetpack Compose and Material
@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun DatePickerWithDialog(
value: LocalDate?,
dateFormatter: (LocalDate) -> String,
enabled: Boolean = true,
placeholder: @Composable (() -> Unit)? = null,
dateValidator: (Long) -> Boolean = { true },
onChange: (LocalDate?) -> Unit
{
"basics": {
"name": "Thomas POISSON",
"label": "Senior fullstack lead software engineer\n\nAndroid / Vue.js / Java / Node.js / DevOps",
"picture": "https://gravatar.com/avatar/d734559fa3b4e83c99c6f3078c9221496d1de5a27d2f88a0f2aa317b5f62e171?s=200",
"email": "[email protected]",
"phone": "+33 6 85 72 69 50",
"summary": "I’m a freelance fullstack developer with 15 years of experience building and optimizing web and mobile apps. I love creating new things, improving processes, and always learning and sharing best practices. I’m flexible and enjoy getting involved in all parts of a project, from front-end to back-end. Application support is something I find rewarding because it helps me understand systems better, set up monitoring, and write automated tests. I’m comfortable with technologies like Java, Kotlin, NodeJS, VueJS, and cloud platforms like AWS and GCP, and I’m always excited to try new tools. I handle the full development process, from idea to deployment, and I’m not afraid t
{
"basics": {
"name": "Thomas POISSON",
"label": "Senior fullstack lead software engineer - Android / Vue.js / Java / Node.js / DevOps",
"picture": "https://gravatar.com/avatar/d734559fa3b4e83c99c6f3078c9221496d1de5a27d2f88a0f2aa317b5f62e171?s=200",
"email": "[email protected]",
"phone": "+33 6 85 72 69 50",
"summary": "I’m a freelance fullstack developer with 15 years of experience building and optimizing web and mobile apps. I love creating new things, improving processes, and always learning and sharing best practices. I’m flexible and enjoy getting involved in all parts of a project, from front-end to back-end. Application support is something I find rewarding because it helps me understand systems better, set up monitoring, and write automated tests. I’m comfortable with technologies like Java, Kotlin, NodeJS, VueJS, and cloud platforms like AWS and GCP, and I’m always excited to try new tools. I handle the full development process, from idea to deployment, and I’m not afraid to
{
"basics": {
"name": "Thomas POISSON",
"label": "Senior fullstack lead software engineer - Android / Vue.js / Java / Node.js / DevOps",
"picture": "https://gravatar.com/avatar/d734559fa3b4e83c99c6f3078c9221496d1de5a27d2f88a0f2aa317b5f62e171?s=200",
"email": "[email protected]",
"phone": "+33 6 85 72 69 50",
"summary": "I’m a freelance fullstack developer with 15 years of experience building and optimizing web and mobile apps. I love creating new things, improving processes, and always learning and sharing best practices. I’m flexible and enjoy getting involved in all parts of a project, from front-end to back-end. Application support is something I find rewarding because it helps me understand systems better, set up monitoring, and write automated tests. I’m comfortable with technologies like Java, Kotlin, NodeJS, VueJS, and cloud platforms like AWS and GCP, and I’m always excited to try new tools. I handle the full development process, from idea to deployment, and I’m not afraid to