nowinandroid 一个完全由 Kotlin 和 Jetpack Compose 构建的功能完整的 Android 应用程序。它遵循 Android 设计和开发的最佳实践,旨在为开发者提供有用的参考。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Don Turner 396f6eb07d
Add headerImageUrl to NewsResource
3 years ago
app Remove episodes and saved destinations 3 years ago
benchmark Add baseline profile 3 years ago
core-common Add test dispatchers 3 years ago
core-database Add headerImageUrl to NewsResource 3 years ago
core-datastore Add test dispatchers 3 years ago
core-datastore-test Clean up build files 3 years ago
core-domain Add headerImageUrl to NewsResource 3 years ago
core-model Add headerImageUrl to NewsResource 3 years ago
core-network Add headerImageUrl to NewsResource 3 years ago
core-testing Add news resource cards to for you screen 3 years ago
core-ui Add headerImageUrl to NewsResource 3 years ago
feature-following Add news resource cards to for you screen 3 years ago
feature-foryou Add headerImageUrl to NewsResource 3 years ago
gradle Downgrade Android Gradle Plugin version to 7.1.2 for project to be compatible with latest stable Android Studio 3 years ago
kokoro [NiA] Fix nightly build 3 years ago
spotless Add initial app scaffolding 3 years ago
tools Add initial app scaffolding 3 years ago
.gitignore Add initial app scaffolding 3 years ago
CONTRIBUTING.md Add initial app scaffolding 3 years ago
LICENSE Add initial app scaffolding 3 years ago
README.md Add baseline profile 3 years ago
build.gradle Adding device class breakopints (http://b/216019537) 3 years ago
gradle.properties Add optimisations to improve build times 3 years ago
gradlew Replace buildSrc with version catalog 3 years ago
gradlew.bat Add initial app scaffolding 3 years ago
settings.gradle Add baseline profile 3 years ago

README.md

Now in Android App

This is the repo for the Now in Android app.

TODOs:

  • Add note about version catalogs for dependencies

Baseline profile

The baseline profile for this app is located at app/src/main/baseline-prof.txt. It contains rules that enable AOT compilation of the critical user path taken during app launch. For more information on baseline profiles, read this document.

| Note: The baseline profile needs to be re-generated for release builds that touched code which changes app startup.

To generate the baseline profile, select the benchmark build variant and run the BaselineProfileGenerator benchmark test on an AOSP Android Emulator. Then copy the resulting baseline profile from the emulator to app/src/main/baseline-prof.txt.