I am really new to android app development using Kotlin. I got a coding challenge to develop an app to search for tv shows using the TV MAZE API. I learned some Kotlin basics and developed the app. I got the following feedback for my coding. Can anybody help me to understand the following points and how to improve my current code with respect to following points?
- No architecture at all (Nearly everything is in the Activity)
- using var not val for variables
- a lot of useless comments (e.g. sets the text to the textview or return the number of the items in the list)
- using findViewById() method (better: enable DataBinding or ViewBinding)
- No usage of the Strings.xml (only hardcoded strings)
- Manual json parsing (better use Gson/kotlinX.Serialization/Moshi)
- Creation Adapter/Layout manager every time a call happens/user search something
- Code format could be improved (remove useless empty lines)