Created
October 14, 2018 10:25
-
-
Save har5hit/d06d31d2de88a49ceeeabb8b9cae9252 to your computer and use it in GitHub Desktop.
Binding adapter, pass string as attribute
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bind:selectedConstantType="@{`SHIRTS`}" | |
@InverseBindingAdapter(attribute = "selectedConstantValue", event = "selectedConstantValueAttrChanged") | |
@BindingAdapter(value = {"selectedConstantValue","selectedConstantType", "selectedConstantValueAttrChanged"}, requireAll = false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment