andraskindler / quickscroll

[Development stopped in 2014. Unfinished and not stable - not recommended to use.] Bringing extended scrolling features to Android's native ListView and ExpandableListView.
455 stars 151 forks source link

Can't import to Android Studio #12

Open borjaruiz opened 8 years ago

borjaruiz commented 8 years ago

How to import to android studio?

I tried compile 'com.andraskindler.quickscroll:quickscroll:0.9.8' but I can't import any library class to my Activities/fragments.

I also tried to importing it as module but Android Studio shows that it doesn't find Gradle.

bilthon commented 8 years ago

I recognize this must be quite late, but I actually ported this to work with the gradle build system and created a pull request. It was never accepted however. I think this project is not being mantained.

But if you pull from my fork it should work. Just add this to your build.gradle:

compile 'com.github.bilthon:quickscroll:v1.0.0'
lorenzoPrimi commented 7 years ago

@bilthon doesn't work

Failed to resolve: com.github.bilthon:quickscroll:v1.0.0

bilthon commented 7 years ago

You're right, I never published it to maven central, so it won't work. I don't know what I was thinking of at the time. But if you check my forked repo you'll actually have a better idea of how to include it using gradle.