Code Once, Pin Everywhere: Multiplatform Widgets for Android & iOS - Andrea Della Porta

NDC Conferences
1,430 views •

This talk was recorded at NDC Oslo in Oslo, Norway. #ndcoslo #ndcconferences #developer #softwaredeveloper Attend the next NDC conference near you: https://ndcconferences.com https://ndcoslo.com/ Subscribe to our YouTube channel and learn every day: / @NDC Follow our Social Media! https://www.facebook.com/ndcconferences https://twitter.com/NDC_Conferences https://www.instagram.com/ndc_conferences/ #mobile #crossplatform #ui #ios #code Widgets are back in style — and now, they live on both Android and iOS home screens. But maintaining two separate implementations, two data flows, and two update mechanisms? That’s a headache. In this session, we’ll explore how Kotlin Multiplatform (KMP) can unify your widget logic across platforms, letting you share state, data, and update code while keeping native UIs through Glance (Android) and WidgetKit (iOS). You’ll learn how to architect a shared KMP core that powers both widgets and apps, manage reactive updates via Flows, and handle background refresh with minimal duplication. A live demo will show a single shared Kotlin module driving widgets on Android and iOS — proving that even the smallest UI can benefit from shared logic.

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close