Skip to content

Commit

Permalink
Update Spinner.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
MattJAshworth authored Nov 14, 2024
1 parent db96aef commit 623c460
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ class Spinner<T>(context: Context, attributeSet: AttributeSet) : LinearLayout(co

fun setTitle(title: String) {
this.title = title
this.textInputLayout.hint = title
}

}
}

0 comments on commit 623c460

Please sign in to comment.