Sdílet prostřednictvím


AdapterView.EmptyView Property

Definition

When the current adapter is empty, the AdapterView can display a special view called the empty view. -or- Sets the view to show if the adapter is empty

public virtual Android.Views.View? EmptyView { [Android.Runtime.Register("getEmptyView", "()Landroid/view/View;", "GetGetEmptyViewHandler")] get; [Android.Runtime.Register("setEmptyView", "(Landroid/view/View;)V", "GetSetEmptyView_Landroid_view_View_Handler")] set; }
[<get: Android.Runtime.Register("getEmptyView", "()Landroid/view/View;", "GetGetEmptyViewHandler")>]
[<set: Android.Runtime.Register("setEmptyView", "(Landroid/view/View;)V", "GetSetEmptyView_Landroid_view_View_Handler")>]
member this.EmptyView : Android.Views.View with get, set

Property Value

The view to show if the adapter is empty.

Attributes

Remarks

Property getter documentation:

When the current adapter is empty, the AdapterView can display a special view called the empty view. The empty view is used to provide feedback to the user that no data is available in this AdapterView.

Java documentation for android.widget.AdapterView.getEmptyView().

Property setter documentation:

Sets the view to show if the adapter is empty

Java documentation for android.widget.AdapterView.setEmptyView(android.view.View).

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