Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

223
Views
Kotlin find all hardcoded strings in code using Android Studio

(Ctrl+Alt+Shift+I) and type Hardcoded Strings: only find the hardcoded strings in the .java files and not find strings in .kt files

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Ah, well actually there's an update. Kotlin IDE does understand org.jetbrains.annotations.PropertyKey 11, but it does not always work. I have had problems if the bundle contains more than one language.

Example:

fun message(@PropertyKey(resourceBundle = "Messages") id: String) =
        ResourceBundle.getBundle("Messages").getString(sid) ?: "###$id###"

For more visit:https://developer.android.com/studio/write/lint#src

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!