Repolode
android

android/nowinandroid

A reference Android news app built entirely with Kotlin and Jetpack Compose, following Google's recommended architecture and modularization practices.

Stars
22,044
Forks
4,713
Open issues
281
Last commit
yesterday

What is it?

Now in Android is a sample Android app from Google that delivers news and content from the Now in Android series. Users browse recent videos, articles and other links, follow topics they care about, and receive notifications when matching content is published.

The project is built to serve as a reference for Android development practices. It follows the official architecture guidance, is fully modularized, and uses Material 3 with dynamic color, dark mode and adaptive layouts for different screen sizes. The app is written in Kotlin with Jetpack Compose for all screens and UI components.

The repository also covers testing and performance. Data layer components are defined as interfaces with test doubles instead of mocks, Hilt is used for dependency injection, Roborazzi provides screenshot tests, and Macrobenchmark tests and baseline profiles address startup performance. A `demo` flavor runs on static local data, while the `prod` flavor requires a backend that is not publicly available.

Key features

  • 01Browse recent videos, articles and links from the Now in Android series
  • 02Follow topics and receive notifications for matching new content
  • 03Material 3 UI with dynamic color and dark mode
  • 04Adaptive layouts for different screen sizes
  • 05Hilt dependency injection and test doubles instead of mocks
  • 06Screenshot tests with Roborazzi and startup benchmarks with Macrobenchmark

Use cases

  • Studying a modern Android app structured with Kotlin, Compose and modularization
  • Using as a reference for architecture, testing and Baseline Profile setup
  • Exploring a Compose app with a demo flavor that runs on local data

Quick start

  1. 1

    Clone the repository and open it in the latest stable Android Studio

  2. 2

    Set the run configuration to app and run the demoDebug variant

Things to know

  • The prod variant needs a backend server that is not publicly available, so only the demo variants run.
  • The project is described as a work in progress and is still in development.

In collections

Topics

#android#jetpack-compose#kotlin#architecture#modularization#sample-app#hilt#sample

FAQ

What is nowinandroid?
A reference Android news app built entirely with Kotlin and Jetpack Compose, following Google's recommended architecture and modularization practices. Now in Android is a sample Android app from Google that delivers news and content from the Now in Android series. Users browse recent videos, articles and other links, follow topics they care about, and receive notifications when matching content is published.
Is nowinandroid free to use? What license does it have?
nowinandroid is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is nowinandroid still maintained?
Actively maintained. The last commit to nowinandroid was on Nov 5, 2026.
What can I use nowinandroid for?
Studying a modern Android app structured with Kotlin, Compose and modularization Using as a reference for architecture, testing and Baseline Profile setup Exploring a Compose app with a demo flavor that runs on local data
How do I install nowinandroid?
Clone the repository and open it in the latest stable Android Studio Set the run configuration to app and run the demoDebug variant
Where can I get nowinandroid?
The source code and installation instructions are on GitHub: https://github.com/android/nowinandroid

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects

An Android app for reading Chinese culture content: classical poems, idioms, Chinese characters, riddles, traditional colors and solar terms, built with Kotlin and Jetpack Compose.

Learning Resources#chinese-poetry#chinese-culture#chinese-idioms
2.2K+6 this week205KotlinGPL-3.0Updated 2 months ago