Father and husband · Google Developer Expert for Android · Senior Staff Engineer at Decathlon · DevLille organizer · Disney Fan!
Gerard Paligot
Building dynamic forms with JSONForms and Kotlin Multiplatform
Building dynamic forms is never an easy job, especially for those forms that need to adapt in real time according to the user-specific context of language, location, or any other key input. During this talk, we go one step further by integrating JSONForms, a standard maintained by the Eclipse Foundation. While that may be primarily in web development, JSONForms provides a structured approach for the generation of forms, and we're going to see how one could create a native implementation both for Android and iOS using this standard.
The special thing about this session is that the Android and iOS implementation we are going to provide will be based on Kotlin Multiplatform, which enables us to share all the core logics and JSONForms standard implementations between both platforms. You will see how KMP can be used in your development so as to enable you to have a single code base for complex form logic while providing a native experience on both platforms.
We will cover how to solve some of the most common problems that a mobile developer has to face: working with forms that must dynamically show or hide sections, validate fields using predefined lists, regular expressions, and custom rules. In this talk, JSONForms and Kotlin Multiplatform are used for cross-platform, dynamic form generation.