Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

200
Vistas
Override annotation required and not - Kotlin

Related to : Error: onActivityResult overrides nothing

I've tried Dhaval Patel's solution and get the report that it overrides nothing from my parser. Omitting the override annotation reports that it hides the super method and override is required. Is there an issue with my parser?

How the documentation says to implement the method (which won't compile) https://developer.android.com/training/basics/intents/result

How I only get a parser warning - overrides nothing, override redundant

override fun onActivityResult(requestCode:Int, resultCode:Int, data:Intent?) 

How I get a compile error - override annotation required:

fun onActivityResult(requestCode:Int, resultCode:Int, data:Intent?)
over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Thanks to a clue from byxor, I checked my build.grade

My IDE (Android Studio) reported a version mismatch in it's Kotlin version and the documentation. I've upgraded to 1.3.11 and it's resolved the issue by recognizing the need for the override annotation.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda