Skip to content

Commit

Permalink
- Changed name of the library to ruler picker.
Browse files Browse the repository at this point in the history
- Documenting the ruler view.
  • Loading branch information
kevalpatel2106 committed Mar 28, 2018
1 parent 39a019b commit f5caf33
Show file tree
Hide file tree
Showing 16 changed files with 602 additions and 227 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Expand Up @@ -19,7 +19,7 @@ android {
}

dependencies {
implementation project(':ruler-view')
implementation project(':ruler-picker')
implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:27.1.0'
}
Expand Up @@ -21,8 +21,8 @@ import android.os.Bundle
import android.os.Handler
import android.support.v7.app.AppCompatActivity
import android.widget.TextView
import com.kevalpatel2106.rulerview.ObservableHorizontalScrollView
import com.kevalpatel2106.rulerview.ScrollingValuePicker
import com.kevalpatel2106.rulerpicker.ObservableHorizontalScrollView
import com.kevalpatel2106.rulerpicker.ScrollingValuePicker

/**
* Created by Keval on 16/12/17.
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_ruler_demo.xml
Expand Up @@ -21,7 +21,7 @@
android:layout_height="match_parent"
tools:context=".RulerDemoActivity">

<com.kevalpatel2106.rulerview.ScrollingValuePicker
<com.kevalpatel2106.rulerpicker.ScrollingValuePicker
android:id="@+id/ruler_view_demo"
android:layout_width="match_parent"
android:layout_height="100dp"
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions ruler-view/bintray.gradle → ruler-picker/bintray.gradle
Expand Up @@ -18,9 +18,9 @@ if (project.rootProject.file('local.properties').exists()) {
version = "1.0" // This is the library version used when deploying the artifact

// Homepage URL of the library
def siteUrl = 'https://github.com/kevalpatel2106/android-ruler-view'
def siteUrl = 'https://github.com/kevalpatel2106/android-ruler-picker'
// Git repository URL
def gitUrl = 'https://github.com/kevalpatel2106/android-ruler-view.git'
def gitUrl = 'https://github.com/kevalpatel2106/android-ruler-picker.git'

group = "com.kevalpatel2106" //Group id

Expand All @@ -32,7 +32,7 @@ if (project.rootProject.file('local.properties').exists()) {
packaging 'aar' //AAR format

// Add your description here
name 'Android Rulerview' //Name of the repo
name 'android-ruler-picker' //Name of the repo
description = ''
url siteUrl

Expand Down Expand Up @@ -93,7 +93,7 @@ if (project.rootProject.file('local.properties').exists()) {
repo = "maven"

// it is the name that appears in bintray when logged
name = "android-ruler-view" //Name of the artifact [Group Id]:[name]:[version]
name = "android-ruler-picker" //Name of the artifact [Group Id]:[name]:[version]
websiteUrl = siteUrl
vcsUrl = gitUrl
licenses = ["Apache-2.0"]
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions ruler-picker/src/main/AndroidManifest.xml
@@ -0,0 +1 @@
<manifest package="com.kevalpatel2106.rulerpicker" />
Expand Up @@ -15,7 +15,7 @@
*
*/

package com.kevalpatel2106.rulerview;
package com.kevalpatel2106.rulerpicker;

import android.annotation.TargetApi;
import android.content.Context;
Expand All @@ -28,7 +28,7 @@
*
* @see <a href="https://github.com/dwfox/DWRulerView>Original Repo</a>
*/
public class ObservableHorizontalScrollView extends HorizontalScrollView {
public final class ObservableHorizontalScrollView extends HorizontalScrollView {

private Runnable scrollerTask;
private int initialPosition;
Expand Down

0 comments on commit f5caf33

Please sign in to comment.