Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this? #9

Closed
JungYongWook opened this issue Feb 17, 2017 · 1 comment
Closed

How to use this? #9

JungYongWook opened this issue Feb 17, 2017 · 1 comment

Comments

@JungYongWook
Copy link

JungYongWook commented Feb 17, 2017

I'd like to use it in the ongoing project.
But I don't know how to use it.
Can you explain it?

Build gradle file is created.
I just want the wheel part.All the images of the rocket have been removed.

Touch also disabled.
But I don't know how to put it on my project.

@shchurov
Copy link
Owner

shchurov commented Feb 17, 2017

Hi @JungYongWook
In the simplest case you need to add this to your root build.gradle:

allprojects {
 repositories {
    jcenter()
    maven { url "https://jitpack.io" }
 }
}

this to the dependencies list in the app build.gradle:

compile 'com.github.shchurov:horizontalwheelview:0.9.5'

and this to your xml layout:

<com.github.shchurov.horizontalwheelview.HorizontalWheelView
            android:id="@+id/horizontalWheelView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>

For more info check the sample:
https://github.com/shchurov/HorizontalWheelView/tree/master/sample

@shchurov shchurov closed this as completed Mar 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants