Using Kotlin and Android Studio:
If I create a class in project A, how can I use that class in project B.
For example, if I write a class “getAPI” that is so nice that I want to use it many times in other projects,
how do I do this?
I think I would create the class in a separate Kotlin file with a package name.
But then, when I start new project B, where will Android Studio expect to find that package.
I’m pretty sure I will need to add the package name to the Dependencies in the gradle. What
would I specify as the location of the package?
Maybe I would add a folder to the project to hold packages.