Jack Smother
Jack Smother

Reputation: 207

How to import github code to your android studio project

I found a scrollable sortable table view code on github https://github.com/ISchwarz23/SortableTableView but I am not sure how to put it in my current android studio project.

It says

To use the this library in your project simply add the following dependency to your build.gradle file.

 dependencies {
        compile 'de.codecrafters.tableview:tableview:0.9.5'
    }

Repository Content

tableview - contains the android library sources and resources

app - contains an example application showing how to use the SortableTableView

It's clear that I should copy the tableview folder and add the dependencies on build.gradle. Where should I copy the tableview folder to? Or how does dependencies look for the code?

https://github.com/ISchwarz23/SortableTableView

Upvotes: 1

Views: 638

Answers (1)

human123
human123

Reputation: 295

It is an android library. So you only need to add the dependency. How to use the library in android project is explained in detail in its github page under Features.

Upvotes: 3

Related Questions