How to Set an array as Tag to any View through layout xml in android -
i want bind data view. using tag in xml file add information.
if data string (android:tag="extra info"
), able data using gettag()
in code.
but want bind multiple data object view, setting array tag. when tried set android:tag="@array/xyz_array"
, still getting string object instead of array gettag()
.
can body tell me, if doing wrong ??
you can't xml, xml supports strings view tags.
Comments
Post a Comment