Skip to content

Commit

Permalink
new API about #83
Browse files Browse the repository at this point in the history
  • Loading branch information
warkiz committed Jun 27, 2018
1 parent 5d59b36 commit ce69f17
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion indicatorseekbar/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'

def VERSION_NAME = "2.0.8"
def VERSION_NAME = "2.0.9"

ext {
bintrayRepo = 'maven'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ public void hideThumb(boolean hide) {
* call this will do not draw the text which below thumb. true if hide.
*/
public void hideThumbText(boolean hide) {
mShowThumbText = hide;
mShowThumbText = !hide;
invalidate();
}

Expand Down Expand Up @@ -1947,9 +1947,19 @@ public void setOnSeekChangeListener(@NonNull OnSeekChangeListener listener) {
*
* @param onlyShow true if only show the tick texts on both of ends seek bar
*/
public void showBothTickTextsOnly(boolean onlyShow) {
public void showBothEndsTickTextsOnly(boolean onlyShow) {
this.mShowBothTickTextsOnly = onlyShow;
}

/**
* prevent user from seeking
*
* @param seekAble true if user can seek
*/
public void setUserSeekAble(boolean seekAble) {
this.mUserSeekable = seekAble;
}

/*------------------API END-------------------*/


Expand Down

0 comments on commit ce69f17

Please sign in to comment.