Is it possible to alter the code of a library imported through Gradle
in Android Studio
? I am thinking it isn't possible since the libraries get added in at runtime?
Is there anything equivalent of extensions in Swift
in Java
? An extension in Swift
is basically a way to add more functions/methods to an existing class. Without directly altering the original source code.
Thanks in advance!