AbsListView.SetSelector(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set a Drawable that should be used to highlight the currently selected item.
[Android.Runtime.Register("setSelector", "(I)V", "GetSetSelector_IHandler")]
public virtual void SetSelector (int resID);
[<Android.Runtime.Register("setSelector", "(I)V", "GetSetSelector_IHandler")>]
abstract member SetSelector : int -> unit
override this.SetSelector : int -> unit
Parameters
- resID
- Int32
A Drawable resource to use as the selection highlight.
- Attributes
Remarks
Set a Drawable that should be used to highlight the currently selected item.
Java documentation for android.widget.AbsListView.setSelector(int)
.
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.