- 60lessons
- 3guided projects
- 10module checkpoints
- 2.7hours of video
What you'll learn
- Choose dispatchers and scopes, and keep coroutines main-safe, owned and cancellable
- Build cold and hot Flow pipelines and expose lifecycle-aware StateFlow UI state
- Design repositories with a single source of truth, layered models and safe shared state
- Schedule persistent sync with WorkManager and keep worker logic JVM-testable
- Test concurrency deterministically with runTest, test dispatchers and fakes
Skills you'll gain
- Coroutine scopes
- Structured concurrency
- Flow streams
- HTTP clients
- Local data with Room
- DataStore
- Repositories
- Caching
- offline state
- Errors
- retries
- cancellation
- WorkManager
- background sync
Tools you'll use
- Kotlin coroutines
- Flow
- Retrofit/OkHttp
- Room
- DataStore
- WorkManager
- JVM tests with virtual time
Details to know
- Certificate on completionIssued after your final project is reviewed
- 10 module checkpointsA quiz and a practical task close each module
- Self-pacedStudy any time; your progress is saved
How every lesson works
Each lesson follows the same four steps, so you always know what comes next.
- 01
Watch & Learn
A short animated video explains one idea at a time.
- 02
Guided Practice
Work through an example step by step and check the result.
- 03
Quiz & Challenge
Short questions check the idea has landed before you move on.
- 04
Mini Project
Build something useful from a project brief.
Learn at your own pace
This is a self-paced course. There are no live classes and no fixed timetable.
- Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
- Pick up where you left offYour progress is saved to your account.
- Ask when you're stuckUse Ask Mentor inside the learning platform.
Your path in 3 phases
Each phase ends with something you have built and checked.
- 01
Modules 1 to 3
Trail Notes concurrency core
Covers Coroutine scopes, Structured concurrency and Flow streams. Build, transform and share asynchronous streams of values and turn them into lifecycle-aware UI state.
You build: Trail Notes concurrency core: Main-safe cache, async detail load, owned scopes Supervisor home sections and caller-surviving refresh.
- 02
Modules 4 to 7
Trail Notes offline-first data layer
Covers HTTP clients, Local data with Room and DataStore, Repositories and Caching and offline state.
You build: Trail Notes offline-first data layer: Typed API, OkHttp client, DTO mappers and MockWebServer response table.
- 03
Modules 8 to 10
Trail Notes
Covers Errors, retries and cancellation, WorkManager and background sync and Concurrency tests.
You build: Trail Notes resilience and background sync: Typed errors, cancellation-safe polling, bounded retry, flow catch/retry and timeouts.
Full curriculum
10 modules and 60 lessons, 33 to 55 hours of study
01Coroutine scopes6 lessons, 3 to 4 hours
Lessons
- Main-safe suspend functions with an injected dispatcher
- launch versus async: Job and Deferred handles
- Choosing Dispatchers.Main, IO and Default
- viewModelScope and lifecycle-bound scopes
- Coroutine context: Job, dispatcher and name
- Why GlobalScope is avoided: injecting a CoroutineScope
After this module you can
- Wrap a blocking call in withContext using a constructor-injected CoroutineDispatcher so callers never choose a thread.
- Choose launch for fire-and-observe work and async for work that returns a value, and read the result through Deferred.await().
- Replace a GlobalScope.launch in a class with an injected CoroutineScope and show the test can control it.
02Structured concurrency6 lessons, 3 to 4 hours
Lessons
- Parent-child coroutine trees and coroutineScope
- Parallel decomposition with async inside coroutineScope
- Failure propagation: a failed child cancels siblings and parent
- supervisorScope and SupervisorJob for independent children
- launch versus async exceptions and CoroutineExceptionHandler
- Work that outlives the caller: external scope with async and await
After this module you can
- Show with a printed completion order that coroutineScope returns only after every child it launched has finished.
- Fetch three independent values in parallel inside coroutineScope and combine them, with total time equal to the slowest call.
- Keep a repository refresh running after the calling screen is cancelled by running it in an injected external scope.
03Flow streams6 lessons, 3 to 4 hours
Lessons
- Cold flows: flow builder, emit and collect
- Operators and flowOn: map, filter, onEach and upstream context
- StateFlow as UI state: private mutable, exposed immutable
- SharedFlow, replay and one-off events versus state
- stateIn with WhileSubscribed and lifecycle-aware collection
- callbackFlow: wrapping a callback API with awaitClose
After this module you can
- Show that a cold flow runs its producer once per collector and nothing before a terminal operator is called.
- Chain operators and use flowOn to move only the upstream work to another dispatcher.
- Adapt a listener-based API to a Flow with callbackFlow, trySend and awaitClose cleanup.
04HTTP clients6 lessons, 3 to 4 hours
Lessons
- An HTTP call from the client side: request, response, timeout
- Declaring an API with Retrofit annotations
- OkHttp client configuration: timeouts and interceptors
- Network models versus app models: DTO mapping
- Secure transport: HTTPS and network security configuration
- Testing the client against MockWebServer scripted responses
After this module you can
- Trace one client call through URL, method, headers, status, body and the three timeout types, and name what can fail at each step.
- Declare a typed Retrofit service interface using @GET, @Path and @Query and explain what the library generates from it.
- Script success, error-status and malformed-body responses with MockWebServer and assert what the data-source layer returns.
05Local data with Room and DataStore6 lessons, 3 to 4 hours
Lessons
- Observable DAO queries: Flow return types and table-level invalidation
- Schema change: AutoMigration and exported schema JSON
- Manual Migration and the danger of destructive fallback
- Preferences DataStore: Flow reads and atomic updates
- Choosing Room, DataStore or files
- Security basics for local data: private storage, backups and logs
After this module you can
- Write a DAO query returning Flow and explain why it re-emits when any row in the table changes.
- Declare an @AutoMigration from version 1 to 2 and explain why exported schema JSON for both versions is required.
- Audit a sample app's local data against four rules: private storage, no passwords on device, backup exclusion and no sensitive logging.
06Repositories6 lessons, 3 to 4 hours
Lessons
- The repository role: one per data type behind an interface
- Constructor-injected data sources and a testable seam
- Single source of truth: refresh writes, UI reads the database
- Mapping across layers: network, entity and external models
- Protecting shared in-memory state with Mutex
- From repository Flow to UI state: Loading, Success and Error
After this module you can
- Define a repository interface for one data type and justify what it hides from callers.
- Give a repository two injected data-source interfaces and substitute fakes for both in a test.
- Map a repository Flow plus refresh status into a sealed UiState exposed by the ViewModel.
07Caching and offline state6 lessons, 3 to 4 hours
Lessons
- Cache-first reads with staleness and refresh
- HTTP cache versus database cache: what each is for
- Write strategies: online-only, queued and lazy
- Synchronisation: pull, push and hybrid
- Conflict resolution: last write wins with versions or timestamps
- Showing offline state: connectivity monitor and stale-data UI
After this module you can
- Implement a read policy that shows cached data immediately and refreshes only when the cache is older than a threshold.
- Distinguish OkHttp's HTTP response cache from an app database cache and choose which solves a given requirement.
- Model connectivity as an injected Flow<Boolean> and show a stale-data indicator without blocking the UI.
08Errors, retries and cancellation6 lessons, 3 to 4 hours
Lessons
- Typed errors: exceptions versus a Result sealed type
- Never swallow CancellationException
- Cooperative cancellation and ensureActive in loops
- Retry with exponential backoff, a cap and a retryable filter
- Flow errors: catch, retry and what keeps a flow alive
- Timeouts as cancellation: withTimeout and withTimeoutOrNull
After this module you can
- Return a sealed DataResult from the repository for expected failures while letting unexpected exceptions propagate.
- Show how a catch of Exception breaks cancellation and fix it by rethrowing CancellationException.
- Bound a suspending call with a timeout and distinguish a timeout from user cancellation.
09WorkManager and background sync6 lessons, 3 to 4 hours
Lessons
- When to use WorkManager, coroutines or AlarmManager
- CoroutineWorker.doWork and its three results
- Constraints: run the sync only when the network is connected
- Unique and periodic work with ExistingWorkPolicy
- Backoff policy and retry semantics for failing work
- Chaining workers and testing worker logic on the JVM
After this module you can
- Classify eight background tasks as in-process coroutine work or WorkManager work with a one-line reason each.
- Write a CoroutineWorker whose doWork returns success, retry or failure depending on the sync outcome.
- Chain a download worker into a parse worker and test the logic by calling extracted functions with fakes.
10Concurrency tests6 lessons, 3 to 4 hours
Lessons
- runTest and virtual time: skipping delays
- StandardTestDispatcher and UnconfinedTestDispatcher: when work runs
- Injecting TestDispatchers and the Main dispatcher
- Testing Flows with backgroundScope collectors
- Fakes for repository, clock and connectivity
- Testing cancellation and failure propagation
After this module you can
- Write a runTest test for a function that delays 10 seconds and assert it completes instantly with the right virtual time.
- Predict assertion failure and success using advanceUntilIdle, and choose between the two test dispatchers.
- Prove that cancelling a caller cancels its children and that no coroutine leaks after a failure.
What you'll build
3 guided projects along the way, then a final project.
Trail Notes concurrency core
after module 3Trail Notes offline-first data layer
after module 7Trail Notes resilience and background sync
after module 10
Final project
Trail Notes: an Android data layer and screen for a trail-conditions app with offline behaviour, WorkManager sync and a JVM test suite proving cancellation, retry and offline scenarios.. Options: Trail Notes; Pantry shelf-life tracker; Transit favourites.
What you submit
Source and artifact submission: repository link plus a built debug APK or, if no device is available, the module with the full JVM suite.
How it's reviewed
Trainer review against a weighted rubric: F o u r b a n d s p e r c r i t e r i o n ( m i s s i n g , p a r t i a l , m e e t s , e x c e e d s ) : c o r r e c t s c o p e s a n d c a n c e l l a t i o n ; F l o w / s t a t e d e s i g n ; r e p o s i t o r y a.
Where you'll use it
- Make a screen keep working offline and sync queued edits when the network returns.
- Add bounded retries with backoff to an API call without breaking cancellation.
Roles that use these skills
- Android developer
- Mobile engineer
- Kotlin developer
Earn the certificate by building, not watching
- Complete the lessons and pass each module checkpoint.
- Build your final project and demonstrate it.
- OUTLEARN reviews your project and issues your certificate. It is not issued automatically.
Frequently asked questions
What should I know before starting?
The course expects Android Development with Kotlin and Compose, REST API Design or an accepted equivalent. Completed or equivalent to Android Development with Kotlin and Compose. A short diagnostic check is described in the entry requirements.
What do I build for the final project?
You choose one of 3 options: Trail Notes; Pantry shelf-life tracker; Transit favourites. It is reviewed by a trainer in a live demonstration.
When do I get a certificate?
Only after you build and demonstrate your live project. OUTLEARN staff issue certificates; nothing is issued automatically.
Be first in when Android Data, Networking and Concurrency opens
Email us and we will tell you as soon as enrolment opens.
Notify me when it opens

