add View Annotation
Add view annotation inflated from resId synchronously.
Annotation options must include Geometry where we want to bind our view annotation.
Width and height could be specified explicitly but better idea will be not specifying them as they will be calculated automatically based on view layout.
Return
inflated View.
Parameters
view annotation options
layout resource id
Add view annotation inflated from resId asynchronously.
In order to use this function please add following dependency to your project.
Annotation options must include Geometry where we want to bind our view annotation.
Width and height could be specified explicitly but better idea will be not specifying them as they will be calculated automatically based on view layout.
Parameters
callback triggered when View is inflated.
instance of AsyncLayoutInflater provided by the user
view annotation options
layout resource id
Add annotation View which is already inflated. View dimensions will be taken as width / height from view's layout params unless they are not specified explicitly with ViewAnnotationOptions.Builder.width and ViewAnnotationOptions.Builder.height.
Annotation options must include Geometry where we want to bind our view annotation.
Width and height could be specified explicitly but better idea will be not specifying them as they will be calculated automatically based on view layout.
Parameters
view annotation options
view that was already inflated