Language

BatchUpdates.Builder.UpdateTemplate(RemoteViews) Method

Definition

Applies the updates in the underlying presentation template.

[Android.Runtime.Register("updateTemplate", "(Landroid/widget/RemoteViews;)Landroid/service/autofill/BatchUpdates$Builder;", "GetUpdateTemplate_Landroid_widget_RemoteViews_Handler", ApiSince=28)]
public virtual Android.Service.Autofill.BatchUpdates.Builder? UpdateTemplate(Android.Widget.RemoteViews updates);
[<Android.Runtime.Register("updateTemplate", "(Landroid/widget/RemoteViews;)Landroid/service/autofill/BatchUpdates$Builder;", "GetUpdateTemplate_Landroid_widget_RemoteViews_Handler", ApiSince=28)>]
abstract member UpdateTemplate : Android.Widget.RemoteViews -> Android.Service.Autofill.BatchUpdates.Builder
override this.UpdateTemplate : Android.Widget.RemoteViews -> Android.Service.Autofill.BatchUpdates.Builder

Parameters

updates
RemoteViews

a RemoteViews with the updated actions to be applied in the underlying presentation template. This value cannot be null.

Returns

this builder

Attributes

Remarks

Applies the updates in the underlying presentation template.

Note: The updates are applied before the transformations are applied to the children views.

Theme does not work with RemoteViews layout. Avoid hardcoded text color or background color: Autofill on different platforms may have different themes.

Android reference for android.service.autofill.BatchUpdates.Builder.updateTemplate.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to