method does not override method from superclass. how can i fix this error.
im making and android native app for my website.and my website contain a button which amy app defining as unknown url error so i add the code (shared in screenshote) but after that is showing a error and its not working, im doing making this app without any pre knowledge of java or android app development please help me out to solve this issue . everything is working fine instead of whatsapp url
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
MainActivity and this superclass not has
shouldOverrideUrlLoading
methodWith this code, you’re saying that there is a method shouldOverrideUrlLoading in your superclass.
Superclass is the class you extend. Example:
To override a method, there needs to be a
method in ExampleClass.
If you didn’t override any class, remove @Override.
If you did and must extend a class, you can’t go further without inheritance knowledge.