Skip to content

Commit

Permalink
Update MaterialSearchBar.java
Browse files Browse the repository at this point in the history
  • Loading branch information
cirnoftw committed Aug 28, 2018
1 parent 26d04b6 commit fc365d0
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,15 @@ public void setPlaceHolder(CharSequence placeholder) {
this.placeholderText = placeholder;
placeHolder.setText(placeholder);
}

/**
* Set the place holder text
*
* @return placeholder text
*/
public CharSequence getPlaceHolderText() {
return placeHolder.getText();
}

public void setMenuDividerEnabled(boolean menuDividerEnabled) {
this.menuDividerEnabled = menuDividerEnabled;
Expand Down

0 comments on commit fc365d0

Please sign in to comment.