I am using an image carousel library that I snagged off of github, but there are a few things I would like to change in the code. I have imported it using the compile \'com.
The source code is located here and it is available to edit:
https://github.com/ArthurHub/Android-Image-Cropper
For this you need to import it as lib and modify as you like:
To import the library to Android Studio, there are two methods that can work.
include 'MyApp', ':subProject:FreemiumLibrary'
dependencies {
//...
compile project(':subProject:FreemiumLibrary')
}
I solved this way. Fork library project. Then clone it (In Android Studio, File -> New -> Project from Version Control -> put the link of your repository that you forked and open it). Edit it and commit
it to your master branch. Then push
it to your master branch. And finally find snapshot version of that library. For example if you use JitPack. Go to jitpack.io website and search for your repository (forked version with your username). And there go to commits section and get latest version that you committed. And use that library dependency in your project instead of original repo.