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 6f345b86bf
Switch to running check instead of build for pre-push hooks
3 years ago
app Integrate WorkManager (WIP) 3 years ago
benchmark Add baseline profile 3 years ago
core-common Integrate WorkManager (WIP) 3 years ago
core-database Sort news resources by descending publish date, add NewsResourceDao tests 3 years ago
core-datastore Integrate WorkManager (WIP) 3 years ago
core-datastore-test Integrate WorkManager (WIP) 3 years ago
core-domain Integrate WorkManager (WIP) 3 years ago
core-domain-test Integrate WorkManager (WIP) 3 years ago
core-model Add headerImageUrl to NewsResource 3 years ago
core-network Integrate WorkManager (WIP) 3 years ago
core-testing Add news resource cards to for you screen 3 years ago
core-ui Hide bookmark icon 3 years ago
feature-following Add news resource cards to for you screen 3 years ago
feature-foryou Use androidx SavedStateHandle.saveable 3 years ago
gradle Fix UiAutomator dependency 3 years ago
kokoro [NiA] Fix nightly build 3 years ago
spotless Add initial app scaffolding 3 years ago
sync Integrate WorkManager (WIP) 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 Integrate WorkManager (WIP) 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 Build faster? 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.