Just pull that library project from git repo and follow this link on developer's site.
Android : import libraries Like PhotoView
-
27-09-2022 - |
Question
I'm a beginner in android programming
And I have problem importing this library to eclipse: External Link To Project (GitHub)
I know how to import .jar files but I can't find any .jar file in it's libraries
The question is:
How can I use this type of libraries (with only .java files)?
Solution
OTHER TIPS
For whosoever that may still encounter this challenge just paste the following in your gradle app: implementation 'com.github.chrisbanes.photoview:library:1.2.1' and sync to import the library into your project.
(I understand it's a very old question, but I thought adding this would be beneficial and somebody might find it useful.)
If you are using Android Studio, you can directly add Maven dependencies in you build.gradle file. This can save a lots of time and hassle.
e.g. link for OP's original request https://mvnrepository.com/artifact/com.github.chrisbanes.photoview/library/1.2.3