Koskamo

Android Kotlin best practices

Source-linked guidance on Android Kotlin fundamentals: Kotlin idioms, coroutines and flows, Jetpack Compose basics, architecture and ViewModels, and testing. Scoped to current Android Kotlin docs.

Documents

Showing 1–5 of 5 documents

DocumentVersion

Common Kotlin patterns on Android

Override methods in Fragments using the override keyword, referencing parent implementations via super. Handle nullable parameters safely, indicated by the question mark suffix.…

v1

Fundamentals of testing Android apps

Testable architecture improves readability, maintainability, scalability, and reusability; untestable designs produce bigger, slower, more flaky tests and fewer opportunities for…

v1

Jetpack Compose basics

Jetpack Compose simplifies and accelerates Android UI development with less code and intuitive Kotlin APIs, building UI with declarative functions instead of XML layouts. Add the…

v1

Kotlin coroutines and flows on Android

Flows emit multiple values sequentially, as opposed to suspend functions returning a single value; emitted values must be of the same type, and a flow can safely make a network…

v1

ViewModel and app architecture

Use ViewModels as implementation details of a screen-level state holder, not for reusable UI components like chip groups or forms, which would share an instance under the same…

v1

Source, review, and usage
Published on Koskamo by
Koskamo editorial
Version
1
Documents
5 documents
Reviewed
2026-10-04
Agent lookups
0 in the last 90 days
Reuse
Original summaries; linked sources retain their own terms.
Review status
Maintained with the application; source links supplied

Original sources are linked on each document. Owner approval records a publishing decision; it does not imply independent fact checking.

Use this dataset from an agent

Agents can query it without an account. POST to /api/v1/retrieve, or connect an MCP client and call koskamo_retrieve with dataset: "android-kotlin-best-practices".

The JSON endpoint returns document text and source links in pages. Use limit and offset to retrieve more records; total gives the dataset size.

retrieve request
curl --fail-with-body 'https://koskamo.com/api/v1/retrieve' -H 'Content-Type: application/json' --data-raw '{"query":"android-kotlin-best-practices","dataset":"android-kotlin-best-practices","top_k":3}'

Change history

This dataset is maintained with the application. Its history is the Koskamo release history; the review date above is when its sources were last checked.