7 Answers
New AnswerHello guys, I saw a video on YouTube and here a Code, there a Code. Now I have the following Code in my fragment_home.kt file and some errors. Can anyone hekp me and tell, how to solve them? Following the Code link and a few screenshots Thank you for your help. Kind regards Errorguy https://code.sololearn.com/ca21A152a16A/?ref=app https://www.sololearn.com/post/1037203/?ref=app https://www.sololearn.com/post/1037202/?ref=app
4/14/2021 6:28:15 PM
Errorguy7 Answers
New AnswerErrorguy hello, Your error comes while you are trying to override a function in the top level which means with out parent class that extends super class so All you need to do is put that override in proper activity ```kt class ActivityName : AppCompatActivity(){ override fun ... } ```
you can' t create an operative system on sololearn nor try to use it to elaborate anything for that you need to use a right java code editor like eclipse and create what you want
Gabriele Giambrone please be nice to the community! and he is not asking why it is not working there instead he is asking why the error show up on android studio.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message