Skip to content

Commit

Permalink
Public access to chip data source
Browse files Browse the repository at this point in the history
  • Loading branch information
tylersuehr7 committed Oct 22, 2017
1 parent e2c7e94 commit eb7ab1b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -561,11 +561,13 @@ public void setTypeface(Typeface typeface) {

/**
* Gets the current chip data source being used.
* Note: package-private for now because no outside component should access this.
*
* Note: This method should be used conservatively. Most components should access chips
* through other methods on ChipsInputLayout instead of the chip data source directly.
*
* @return {@link ChipDataSource}
*/
ChipDataSource getChipDataSource() {
public ChipDataSource getChipDataSource() {
return chipDataSource;
}

Expand Down

0 comments on commit eb7ab1b

Please sign in to comment.