I need to read a text file stored in src/main/assets/
ie; in the resource folder and get it as a string.
Is there an easy way to do this.
Java copying, pasting, function conversion give problems, so I would prefer to use the kotlin method.
I need a kotlin way to do this
source
share