Support older Android API versions #234
Annotations
10 errors and 6 warnings
lint:
app/src/main/java/be/chvp/nanoledger/ui/add/AddViewModel.kt#L189
Call requires API level 24 (current min is 21): java.util.ArrayList#removeIf
|
lint:
app/src/main/java/be/chvp/nanoledger/ui/add/AddViewModel.kt#L209
Call requires API level 24 (current min is 21): java.util.ArrayList#removeIf
|
lint:
app/src/main/java/be/chvp/nanoledger/data/LedgerRepository.kt#L73
Call requires API level 24 (current min is 21): java.io.BufferedReader#lines
|
lint:
app/src/main/java/be/chvp/nanoledger/data/LedgerRepository.kt#L73
Call requires API level 24 (current min is 21): java.util.stream.Stream#forEach
|
lint:
app/src/main/java/be/chvp/nanoledger/ui/add/AddViewModel.kt#L35
To get local formatting use getDateInstance(), getDateTimeInstance(), or getTimeInstance(), or use new SimpleDateFormat(String template, Locale locale) with for example Locale.US for ASCII dates.
|
lint:
app/src/main/java/be/chvp/nanoledger/ui/add/AddViewModel.kt#L116
To get local formatting use getDateInstance(), getDateTimeInstance(), or getTimeInstance(), or use new SimpleDateFormat(String template, Locale locale) with for example Locale.US for ASCII dates.
|
lint:
app/src/main/res/mipmap-hdpi/ic_launcher_round.webp#L1
The following unrelated icon files have identical contents: ic_launcher.webp, ic_launcher_round.webp
|
lint:
app/src/main/res/mipmap-mdpi/ic_launcher_round.webp#L1
The following unrelated icon files have identical contents: ic_launcher.webp, ic_launcher_round.webp
|
lint:
app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp#L1
The following unrelated icon files have identical contents: ic_launcher.webp, ic_launcher_round.webp
|
lint:
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp#L1
The following unrelated icon files have identical contents: ic_launcher.webp, ic_launcher_round.webp
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: jonasb/android-problem-matchers-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: jonasb/android-problem-matchers-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: jonasb/android-problem-matchers-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: jonasb/android-problem-matchers-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: jonasb/android-problem-matchers-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: jonasb/android-problem-matchers-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|