Reputation: 975
I want to use this library in my android studio. https://github.com/code-computerlove/FastScrollRecyclerView I tried importing it as a new module and setting it as a library not application but it gives me this error
Error:Library projects cannot set applicationId. applicationId is set to 'com.codecomputerlove.fastscrollrecyclerviewdemo' in default config.
Any help would be appreciated.
Upvotes: 1
Views: 118
Reputation: 27211
Just download the project and drag and drop these files:
FastScrollRecyclerView.java
FastScrollRecyclerViewInterface.java
FastScrollRecyclerViewItemDecoration.java
MyAdapter.java (optional)
from this folder https://github.com/code-computerlove/FastScrollRecyclerView/tree/master/app/src/main/java/com/codecomputerlove/fastscrollrecyclerviewdemo
into your project
DO NOT FORGET TO READ HOWTO Readme.md file
https://github.com/code-computerlove/FastScrollRecyclerView/blob/master/README.md
Upvotes: 0
Reputation: 8190
Your github link is not an Android Library, it's an Android Application. You need to convert it to Android Module (Library) or just copy the source code into your application.
Upvotes: 1