-
Notifications
You must be signed in to change notification settings - Fork 1
@Parent annotation
crypticminds edited this page Feb 20, 2020
·
2 revisions
@Parent annotation can be used to specify the parent of a view so that ColdStorage can access it.
- resourceId -> The resource id of the parent view.
Annotate a view that is the child of another by passing the resource id of the parent view. This annotation will work along with other data loading annotation (Eg. @LoadImage)
@Parent(R.id.parent_view)
@LoadImage(R.id.child_image_view,"https://url.com")
var childImageView : ImageView