0Pricing
Kotlin Multiplatform Academy · Lesson

Design a Small Public API

Decide what to expose and what to keep internal.

What a Public API Is

Your module's public API is the set of functions and types other code is allowed to call. It is the front door both apps walk through.

Small Surface Wins

A small surface area means fewer things to learn and fewer things to break. Expose only what callers truly need, nothing more. 🎯

All lessons in this course

  1. Design a Small Public API
  2. internal vs public Visibility
  3. Organize Packages Inside the Module
  4. Document the API for Both Teams
← Back to Kotlin Multiplatform Academy