次の方法で共有


ListView.AddFooterView Method

Definition

Overloads

AddFooterView(View)

Add a fixed view to appear at the bottom of the list.

AddFooterView(View, Object, Boolean)

Add a fixed view to appear at the bottom of the list.

AddFooterView(View)

Add a fixed view to appear at the bottom of the list.

[Android.Runtime.Register("addFooterView", "(Landroid/view/View;)V", "GetAddFooterView_Landroid_view_View_Handler")]
public virtual void AddFooterView (Android.Views.View? v);
[<Android.Runtime.Register("addFooterView", "(Landroid/view/View;)V", "GetAddFooterView_Landroid_view_View_Handler")>]
abstract member AddFooterView : Android.Views.View -> unit
override this.AddFooterView : Android.Views.View -> unit

Parameters

v
View

The view to add.

Attributes

Remarks

Add a fixed view to appear at the bottom of the list. If addFooterView is called more than once, the views will appear in the order they were added. Views added using this call can take focus if they want.

Note: When first introduced, this method could only be called before setting the adapter with #setAdapter(ListAdapter). Starting with android.os.Build.VERSION_CODES#KITKAT, this method may be called at any time. If the ListView's adapter does not extend HeaderViewListAdapter, it will be wrapped with a supporting instance of WrapperListAdapter.

Java documentation for android.widget.ListView.addFooterView(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

AddFooterView(View, Object, Boolean)

Add a fixed view to appear at the bottom of the list.

[Android.Runtime.Register("addFooterView", "(Landroid/view/View;Ljava/lang/Object;Z)V", "GetAddFooterView_Landroid_view_View_Ljava_lang_Object_ZHandler")]
public virtual void AddFooterView (Android.Views.View? v, Java.Lang.Object? data, bool isSelectable);
[<Android.Runtime.Register("addFooterView", "(Landroid/view/View;Ljava/lang/Object;Z)V", "GetAddFooterView_Landroid_view_View_Ljava_lang_Object_ZHandler")>]
abstract member AddFooterView : Android.Views.View * Java.Lang.Object * bool -> unit
override this.AddFooterView : Android.Views.View * Java.Lang.Object * bool -> unit

Parameters

v
View

The view to add.

data
Object

Data to associate with this view

isSelectable
Boolean

true if the footer view can be selected

Attributes

Remarks

Add a fixed view to appear at the bottom of the list. If addFooterView is called more than once, the views will appear in the order they were added. Views added using this call can take focus if they want.

Note: When first introduced, this method could only be called before setting the adapter with #setAdapter(ListAdapter). Starting with android.os.Build.VERSION_CODES#KITKAT, this method may be called at any time. If the ListView's adapter does not extend HeaderViewListAdapter, it will be wrapped with a supporting instance of WrapperListAdapter.

Java documentation for android.widget.ListView.addFooterView(android.view.View, java.lang.Object, boolean).

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