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
Alex Vanyo b677cc4508
Convert all build files to kts
3 years ago
app Convert all build files to kts 3 years ago
app-nia-catalog Convert all build files to kts 3 years ago
benchmark Convert all build files to kts 3 years ago
build-logic Add license header 3 years ago
core-common Convert all build files to kts 3 years ago
core-database Convert all build files to kts 3 years ago
core-datastore Convert all build files to kts 3 years ago
core-datastore-test Convert all build files to kts 3 years ago
core-domain Convert all build files to kts 3 years ago
core-domain-test Convert all build files to kts 3 years ago
core-model Convert all build files to kts 3 years ago
core-network Convert all build files to kts 3 years ago
core-testing Convert all build files to kts 3 years ago
core-ui Convert all build files to kts 3 years ago
feature-following Convert all build files to kts 3 years ago
feature-foryou Convert all build files to kts 3 years ago
feature-topic Convert all build files to kts 3 years ago
gradle Update to Kotlin 1.6.20 and using material3-window-size-class 3 years ago
kokoro Revert "Remove Nexus 5 from FTL targets" 3 years ago
spotless Add initial app scaffolding 3 years ago
sync Convert all build files to kts 3 years ago
tools Switch to running check instead of build for pre-push hooks 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.kts Convert all build files to kts 3 years ago
gradle.properties Build faster? 3 years ago
gradlew Replace buildSrc with version catalog 3 years ago
gradlew.bat Add initial app scaffolding 3 years ago
settings.gradle.kts Convert all build files to kts 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.