TeamAmaze / TeamAmaze/AmazeFileManager

Migrate to using getResources instead of resource IDs directly

Open
#2,118 4 comments 1 reaction 1 assignee View on GitHub

@Soroyesodiq is already working on this.

Since Dec 5, 2020.

Area-CodeHealth Issue-Task (low)
Dominant language
Kotlin
Stars
6.4k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
1

Description

Resource IDs will be non-final in Android Gradle Plugin version 5.0, avoid using them in switch case statements

We should migrate to using helper method instead of directly using resource ids throughout code, as warned by IDE above.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.