Don Turner
62086eaa5f
Refactor change to make it clearer when the deserialization workaround is required.
8 months ago
Jaehwa Noh
788c2bdff4
Create `getDemoDataFromJson` method and use it.
...
Change-Id: I19336b061e74a378cc70470fbd6af8ee4c7533e0
9 months ago
Jaehwa Noh
75fa949c40
Revert exposed `readText` method.
...
Change-Id: I8076fabed4b4f2f460c74b43ad1c3e38a5268005
9 months ago
Jaehwa Noh
9c443704d2
Replace manual string converter to readText method.
...
Change-Id: If8cc6c27bd399fcdf8446ec411626f13d39e707c
9 months ago
Jaehwa Noh
f2b9c4eb0d
Pass new DemoAssetManager with open and readText methods.
...
Change-Id: I4b58c250e76f6d41e794087ff3b467fc61c88eca
9 months ago
Jaehwa Noh
2e19295590
Override readText.
...
Change-Id: Ibf7fca9de5461e7285ed6d68092e36d70408f3bd
9 months ago
Jaehwa Noh
d5c070a6f0
Create readText method.
...
Change-Id: I15df6f18343bcf36d2d583a19cd47d6344942201
9 months ago
Jaehwa Noh
441ceab380
Merge branch 'android-remote-main' into api-21
...
Change-Id: Iecf9c37a262bf6ae59953ac50bca2523bcab8843
# Conflicts:
# .github/workflows/Build.yaml
9 months ago
Don Turner
cb10b24c1e
Fix failing UI test, add unit test and refactor
10 months ago
Don Turner
5c83853b59
Improve test data and add UI test for topic chip
10 months ago
Simon Marquis
946554adbd
Update retrofit from 2.9.0 to 2.11.0
...
- Replace Jake Wharton's Kotlinx Serialization converter with new retrofit's `converter-kotlinx-serialization`.
- Remove custom Proguard rules that are now part of the dependency: https://github.com/square/retrofit/tree/trunk/retrofit-response-type-keeper#readme
Changelog: https://github.com/square/retrofit/blob/trunk/CHANGELOG.md
12 months ago
Simon Marquis
929848aa08
Merge Android & JVM plugins into a single `HiltConventionPlugin`
1 year ago
Jaehwa Noh
2e2eaf933b
Remove `okio.use` and redundant length init.
...
Change-Id: Ibac659c7aff6d8be99f52d012d603f8251bbd23d
1 year ago
Jaehwa Noh
6649d2086c
Add KDoC for convertStreamToString.
...
Change-Id: Idb7fc085e889f8012234d14ad7bc0a4713073d6e
1 year ago
Jaehwa Noh
19374bced5
Take capability below API 24, and add comment.
...
Change-Id: I86d99fa9e74a8475c0b2bad202cfb4697ab1016b
1 year ago
Jaehwa Noh
6af76eeea5
Create convertStreamToString.
...
Change-Id: I07dbb58813bc891f407773fddab7f1487f1ed24f
1 year ago
Jaehwa Noh
a3ad43a40e
Below than api24,use decodeFromString
...
Change-Id: Icf428ebfe7e153e132e112c2dc6926bd40ab3951
1 year ago
Jaehwa Noh
77da15f57d
Change name Fake to Demo.
...
Change-Id: Ife321dd95238227bfdfc1f13f6832472bd699b6f
1 year ago
Jaehwa Noh
c04ffa8bf8
Change lint ignore name in lint.xml.
...
Change-Id: I3b1e19dedd238ec96bd8debee5fcbcc91bc25094
2 years ago
Jaehwa Noh
2e039d3f0d
Revert "Move main to demo."
...
This reverts commit a5be299e3d
.
2 years ago
Jaehwa Noh
6f468d66fd
Move main to demo.
...
Change-Id: I48bb3c26ef02d6302cb7caabcaa17d5b4659031a
2 years ago
Jaehwa Noh
d8f2ef1def
Remove VisibleForTesting.
...
Change-Id: Icd7005ec38495a1a4bc6f1594f70a2c1228538ab
2 years ago
Jaehwa Noh
c975be2f07
Rename fake to demo.
...
Change-Id: I5b1d7963e623832a766900aa74ef1085aac0cacc
2 years ago
Don Turner
7415ae3b46
Add title to READMEs to describe the dependency graph
...
Change-Id: Ifb4b44e67df53ddd8ed048122c6c12a904e61528
2 years ago
Don Turner
2004c9abca
Update module dependency graphs and add script to create them
...
Change-Id: I7b2ae264ec84491c847a44869934e2f238564c31
2 years ago
Tomáš Mlynarič
226ef1ac25
Add comment for Retrofit async OkHttp
...
Change-Id: Ic7a6887b76caf26f00b58b0753271d426b67e75b
2 years ago
Tomáš Mlynarič
f4dc167da2
Optimize OkHttp initialization for Retrofit
...
Change-Id: I347f1080ab5adf774a0cdd3c659cbf25c4820f9a
2 years ago
Tomáš Mlynarič
41b576d294
Improve lazy loading for Coil + OkHttp
...
This way, we can load Coil's backend on a background thread and not block the MainThread with it.
Previously, the Coil image loader was initialized with the first composed image, which caused ~10ms duration and most likely skipped frames.
Change-Id: Iaa583b6adc1df7d7a51dbae1473e539f2c0b0b62
2 years ago
Don Turner
305f049429
Merge pull request #1088 from SimonMarquis/cleanup-dependencies
...
Reduce overall build complexity
2 years ago
lihenggui
9dac5b80c3
Move @Suppress("ktlint:standard:max-line-length") to function scope
2 years ago
lihenggui
5e965962c5
Spotless
2 years ago
Simon Marquis
171e2e83f5
Reduce overall build complexity
...
- Reduce the visibility of multiple Hilt `Module`s and implementations of public interfaces
- Correctly configure the visibility of dependencies:
- `api` when it's part of it's public `api`
- `implementation` when it's part of it's internal `implementation`
- Remove unnecessary dependencies in build.gradle.kts files
- Remove unnecessary dependencies provided by plugins
- Remove unnecessary applied plugins (i.e. roborazzi)
- Sort dependencies in `build.gradle.kts`
- Delete unused entries in `libs.versions.toml`
2 years ago
Jonathan Koren
45b11a0571
fixed for PR 985
2 years ago
Don Turner
3d85cd06d0
Merge pull request #958 from McGalanes/main
...
Use typesafe project accessors
2 years ago
Melwin Magalhaes
f470be2860
Add convention plugins to version catalogs
2 years ago
Melwin Magalhaes
d089ccd9d7
Use typesafe project accessors for project modules
2 years ago
Simon Marquis
2bbb982b3a
Migrate from `java` to `kotlin` sourceSet directory
2 years ago
Simon Marquis
14bd622e05
Replace identical `InstantSerializer` with KotlinX datetime default serializer
2 years ago
Simon Marquis
81bec2e367
Replace `NewsResourceType` enum with simpler String type
...
See this discussion for rationale: https://github.com/android/nowinandroid/discussions/901
2 years ago
Tatsuya Fujisaki
0e28640b15
Rename constants
2 years ago
İbrahim Ethem Şen
83ee29744e
Kotlin coding conventions places companion object at the bottom of the class
2 years ago
Simon Marquis
fd826c8e23
Delete no longer used `AUTHORS_ASSET` reference
2 years ago
Márton Braun
dc9d2cf72f
Update Kotlin, Compose compiler, serialization versions
...
Change-Id: I2aa0d07769e79e6f85824a391418566aef6b721e
2 years ago
Simon Marquis
3d7b71963c
Sort and group Gradle dependencies thanks to square/gradle-dependencies-sorter
3 years ago
Yuri Schimke
2c6cd4af12
Fixes
...
Change-Id: Iedcafbf0ad7b853544b7b5b3f37685a0a868c2e6
3 years ago
Yuri Schimke
2e5c29c9e4
Improve network pooling and avoid startup image fetches.
...
Change-Id: If747fb0833d31ce7c9bedffd400160e979bc945e
3 years ago
Márton Braun
56ecffbadd
Run Spotless to add trailing commas (and apply other rule updates)
...
Change-Id: I5f8e49a3ef004c7e9e7dfe4bc55f0a35dc575209
3 years ago
Jolanda Verhoef
a09612ec80
Remove author concept from app
...
Change-Id: Icd03c0288ba5f3f23dbcbdbefbbe802db2815793
3 years ago
Miłosz Moczkowski
5cbdbeead6
Remove FakeDataSource
...
Change-Id: I5e1486feeade67f0f7276458187694e684310ad3
3 years ago
Simon Marquis
4b7d0e26b4
Refactor `:core:network` DI
...
- Delete unused `NetworkModule` from benchmark sourceSet (contains unknowns references)
- Extract common bindings into a single `NetworkModule`
- Expose "flavored" bindings through `FlavoredNetworkModule`s
3 years ago