Language

EmbeddedPhotoPickerFeatureInfo.Builder.SetCollapsedModeScrollingEnabled Method

Definition

Sets whether the app chooses to allow the collapsed mode to be scrollable.

[Android.Runtime.Register("setCollapsedModeScrollingEnabled", "(Z)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=37)]
public Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder SetCollapsedModeScrollingEnabled(bool collapsedModeScrollingEnabled);
[<Android.Runtime.Register("setCollapsedModeScrollingEnabled", "(Z)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=37)>]
member this.SetCollapsedModeScrollingEnabled : bool -> Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder

Parameters

collapsedModeScrollingEnabled
Boolean

true if the app chooses to allow the collapsed mode to be scrollable, false otherwise.

Returns

This Builder object to allow for chaining of calls. This value cannot be null.

Attributes

Remarks

Sets whether the app chooses to allow the collapsed mode to be scrollable.

By default, the photopicker is non-scrollable in the collapsed state. Setting this to false or true does not affect the expanded mode, which remains scrollable. This is a setup-time option and cannot be changed mid-session.

Android reference for android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder.setCollapsedModeScrollingEnabled.

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