[]Struct jni_android_sys::android::widget::AbsListView

#[repr(transparent)]
pub struct AbsListView(_);

public class AbsListView

Required feature: "android-widget-AbsListView"

Methods

impl AbsListView

pub fn new_Context<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, AbsListView>, Local<'env, Throwable>>
[src]

AbsListView

Required features: "android-content-Context"

pub fn new_Context_AttributeSet<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>
) -> Result<Local<'env, AbsListView>, Local<'env, Throwable>>
[src]

AbsListView

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn new_Context_AttributeSet_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32
) -> Result<Local<'env, AbsListView>, Local<'env, Throwable>>
[src]

AbsListView

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn new_Context_AttributeSet_int_int<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env AttributeSet>>,
    arg2: i32,
    arg3: i32
) -> Result<Local<'env, AbsListView>, Local<'env, Throwable>>
[src]

AbsListView

Required features: "android-content-Context", "android-util-AttributeSet"

pub fn setOverScrollMode<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setAdapter_ListAdapter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ListAdapter>>
) -> Result<(), Local<'env, Throwable>>
[src]

setAdapter

Required features: "android-widget-ListAdapter"

pub fn getCheckedItemCount<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn isItemChecked<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getCheckedItemPosition<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getCheckedItemPositions<'env>(
    &'env self
) -> Result<Option<Local<'env, SparseBooleanArray>>, Local<'env, Throwable>>
[src]

getCheckedItemPositions

Required features: "android-util-SparseBooleanArray"

pub fn getCheckedItemIds<'env>(
    &'env self
) -> Result<Option<Local<'env, LongArray>>, Local<'env, Throwable>>
[src]

pub fn clearChoices<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn setItemChecked<'env>(
    &'env self,
    arg0: i32,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn performItemClick<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: i64
) -> Result<bool, Local<'env, Throwable>>
[src]

performItemClick

Required features: "android-view-View"

pub fn getChoiceMode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setChoiceMode<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setMultiChoiceModeListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AbsListView_MultiChoiceModeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setMultiChoiceModeListener

Required features: "android-widget-AbsListView_MultiChoiceModeListener"

pub fn setFastScrollEnabled<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setFastScrollStyle<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setFastScrollAlwaysVisible<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isFastScrollAlwaysVisible<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getVerticalScrollbarWidth<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn isFastScrollEnabled<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setVerticalScrollbarPosition<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setScrollBarStyle<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setSmoothScrollbarEnabled<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isSmoothScrollbarEnabled<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setOnScrollListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AbsListView_OnScrollListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setOnScrollListener

Required features: "android-widget-AbsListView_OnScrollListener"

pub fn sendAccessibilityEventUnchecked<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AccessibilityEvent>>
) -> Result<(), Local<'env, Throwable>>
[src]

sendAccessibilityEventUnchecked

Required features: "android-view-accessibility-AccessibilityEvent"

pub fn getAccessibilityClassName<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getAccessibilityClassName

Required features: "java-lang-CharSequence"

pub fn isScrollingCacheEnabled<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setScrollingCacheEnabled<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setTextFilterEnabled<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isTextFilterEnabled<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn getFocusedRect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Rect>>
) -> Result<(), Local<'env, Throwable>>
[src]

getFocusedRect

Required features: "android-graphics-Rect"

pub fn isStackFromBottom<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setStackFromBottom<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onSaveInstanceState<'env>(
    &'env self
) -> Result<Option<Local<'env, Parcelable>>, Local<'env, Throwable>>
[src]

onSaveInstanceState

Required features: "android-os-Parcelable"

pub fn onRestoreInstanceState<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Parcelable>>
) -> Result<(), Local<'env, Throwable>>
[src]

onRestoreInstanceState

Required features: "android-os-Parcelable"

pub fn setFilterText<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setFilterText

Required features: "java-lang-String"

pub fn getTextFilter<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getTextFilter

Required features: "java-lang-CharSequence"

pub fn requestLayout<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn getSelectedView<'env>(
    &'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

getSelectedView

Required features: "android-view-View"

pub fn getListPaddingTop<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getListPaddingBottom<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getListPaddingLeft<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getListPaddingRight<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn onInitializeAccessibilityNodeInfoForItem<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: impl Into<Option<&'env AccessibilityNodeInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]

onInitializeAccessibilityNodeInfoForItem

Required features: "android-view-View", "android-view-accessibility-AccessibilityNodeInfo"

pub fn setDrawSelectorOnTop<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setSelector_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setSelector_Drawable<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Drawable>>
) -> Result<(), Local<'env, Throwable>>
[src]

setSelector

Required features: "android-graphics-drawable-Drawable"

pub fn getSelector<'env>(
    &'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]

getSelector

Required features: "android-graphics-drawable-Drawable"

pub fn setScrollIndicators<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

setScrollIndicators

Required features: "android-view-View"

pub fn verifyDrawable<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Drawable>>
) -> Result<bool, Local<'env, Throwable>>
[src]

verifyDrawable

Required features: "android-graphics-drawable-Drawable"

pub fn jumpDrawablesToCurrentState<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onWindowFocusChanged<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onRtlPropertiesChanged<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onCancelPendingInputEvents<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn showContextMenu<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn showContextMenu_float_float<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn showContextMenuForChild_View<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
[src]

showContextMenuForChild

Required features: "android-view-View"

pub fn showContextMenuForChild_View_float_float<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: f32,
    arg2: f32
) -> Result<bool, Local<'env, Throwable>>
[src]

showContextMenuForChild

Required features: "android-view-View"

pub fn onKeyDown<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyDown

Required features: "android-view-KeyEvent"

pub fn onKeyUp<'env>(
    &'env self,
    arg0: i32,
    arg1: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyUp

Required features: "android-view-KeyEvent"

pub fn dispatchDrawableHotspotChanged<'env>(
    &'env self,
    arg0: f32,
    arg1: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn pointToPosition<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn pointToRowId<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn onTouchModeChanged<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onTouchEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onTouchEvent

Required features: "android-view-MotionEvent"

pub fn onGenericMotionEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onGenericMotionEvent

Required features: "android-view-MotionEvent"

pub fn fling<'env>(&'env self, arg0: i32) -> Result<(), Local<'env, Throwable>>[src]

pub fn onStartNestedScroll<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env View>>,
    arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

onStartNestedScroll

Required features: "android-view-View"

pub fn onNestedScrollAccepted<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env View>>,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

onNestedScrollAccepted

Required features: "android-view-View"

pub fn onNestedScroll<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

onNestedScroll

Required features: "android-view-View"

pub fn onNestedFling<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: f32,
    arg2: f32,
    arg3: bool
) -> Result<bool, Local<'env, Throwable>>
[src]

onNestedFling

Required features: "android-view-View"

pub fn draw<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Canvas>>
) -> Result<(), Local<'env, Throwable>>
[src]

draw

Required features: "android-graphics-Canvas"

pub fn requestDisallowInterceptTouchEvent<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onInterceptHoverEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onInterceptHoverEvent

Required features: "android-view-MotionEvent"

pub fn onResolvePointerIcon<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>,
    arg1: i32
) -> Result<Option<Local<'env, PointerIcon>>, Local<'env, Throwable>>
[src]

onResolvePointerIcon

Required features: "android-view-MotionEvent", "android-view-PointerIcon"

pub fn onInterceptTouchEvent<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MotionEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onInterceptTouchEvent

Required features: "android-view-MotionEvent"

pub fn addTouchables<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ArrayList>>
) -> Result<(), Local<'env, Throwable>>
[src]

addTouchables

Required features: "java-util-ArrayList"

pub fn setFriction<'env>(
    &'env self,
    arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setVelocityScale<'env>(
    &'env self,
    arg0: f32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn smoothScrollToPosition_int<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn smoothScrollToPositionFromTop_int_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn smoothScrollToPositionFromTop_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn smoothScrollToPosition_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn smoothScrollBy<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn scrollListBy<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn canScrollList<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn invalidateViews<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn onCreateInputConnection<'env>(
    &'env self,
    arg0: impl Into<Option<&'env EditorInfo>>
) -> Result<Option<Local<'env, InputConnection>>, Local<'env, Throwable>>
[src]

onCreateInputConnection

Required features: "android-view-inputmethod-EditorInfo", "android-view-inputmethod-InputConnection"

pub fn checkInputConnectionProxy<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<bool, Local<'env, Throwable>>
[src]

checkInputConnectionProxy

Required features: "android-view-View"

pub fn clearTextFilter<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn hasTextFilter<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn onGlobalLayout<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn beforeTextChanged<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]

beforeTextChanged

Required features: "java-lang-CharSequence"

pub fn onTextChanged<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<(), Local<'env, Throwable>>
[src]

onTextChanged

Required features: "java-lang-CharSequence"

pub fn afterTextChanged<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Editable>>
) -> Result<(), Local<'env, Throwable>>
[src]

afterTextChanged

Required features: "android-text-Editable"

pub fn onFilterComplete<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn generateLayoutParams_AttributeSet<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AttributeSet>>
) -> Result<Option<Local<'env, AbsListView_LayoutParams>>, Local<'env, Throwable>>
[src]

generateLayoutParams

Required features: "android-util-AttributeSet", "android-widget-AbsListView_LayoutParams"

pub fn setTranscriptMode<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getTranscriptMode<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getSolidColor<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setCacheColorHint<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getCacheColorHint<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn reclaimViews<'env>(
    &'env self,
    arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]

reclaimViews

Required features: "java-util-List"

pub fn setRemoteViewsAdapter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]

setRemoteViewsAdapter

Required features: "android-content-Intent"

pub fn deferNotifyDataSetChanged<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn onRemoteAdapterConnected<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn onRemoteAdapterDisconnected<'env>(
    &'env self
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setRecyclerListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AbsListView_RecyclerListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setRecyclerListener

Required features: "android-widget-AbsListView_RecyclerListener"

pub fn setSelectionFromTop<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub const CHOICE_MODE_MULTIPLE: i32[src]

public static final CHOICE_MODE_MULTIPLE

pub const CHOICE_MODE_MULTIPLE_MODAL: i32[src]

public static final CHOICE_MODE_MULTIPLE_MODAL

pub const CHOICE_MODE_NONE: i32[src]

public static final CHOICE_MODE_NONE

pub const CHOICE_MODE_SINGLE: i32[src]

public static final CHOICE_MODE_SINGLE

pub const TRANSCRIPT_MODE_ALWAYS_SCROLL: i32[src]

public static final TRANSCRIPT_MODE_ALWAYS_SCROLL

pub const TRANSCRIPT_MODE_DISABLED: i32[src]

public static final TRANSCRIPT_MODE_DISABLED

pub const TRANSCRIPT_MODE_NORMAL: i32[src]

public static final TRANSCRIPT_MODE_NORMAL

Methods from Deref<Target = AdapterView>

pub fn setOnItemClickListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AdapterView_OnItemClickListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setOnItemClickListener

Required features: "android-widget-AdapterView_OnItemClickListener"

pub fn getOnItemClickListener<'env>(
    &'env self
) -> Result<Option<Local<'env, AdapterView_OnItemClickListener>>, Local<'env, Throwable>>
[src]

getOnItemClickListener

Required features: "android-widget-AdapterView_OnItemClickListener"

pub fn performItemClick<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: i64
) -> Result<bool, Local<'env, Throwable>>
[src]

performItemClick

Required features: "android-view-View"

pub fn setOnItemLongClickListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AdapterView_OnItemLongClickListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setOnItemLongClickListener

Required features: "android-widget-AdapterView_OnItemLongClickListener"

pub fn getOnItemLongClickListener<'env>(
    &'env self
) -> Result<Option<Local<'env, AdapterView_OnItemLongClickListener>>, Local<'env, Throwable>>
[src]

getOnItemLongClickListener

Required features: "android-widget-AdapterView_OnItemLongClickListener"

pub fn setOnItemSelectedListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AdapterView_OnItemSelectedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setOnItemSelectedListener

Required features: "android-widget-AdapterView_OnItemSelectedListener"

pub fn getOnItemSelectedListener<'env>(
    &'env self
) -> Result<Option<Local<'env, AdapterView_OnItemSelectedListener>>, Local<'env, Throwable>>
[src]

getOnItemSelectedListener

Required features: "android-widget-AdapterView_OnItemSelectedListener"

pub fn getAdapter<'env>(
    &'env self
) -> Result<Option<Local<'env, Adapter>>, Local<'env, Throwable>>
[src]

getAdapter

Required features: "android-widget-Adapter"

pub fn setAdapter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Adapter>>
) -> Result<(), Local<'env, Throwable>>
[src]

setAdapter

Required features: "android-widget-Adapter"

pub fn addView_View<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

addView

Required features: "android-view-View"

pub fn addView_View_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

addView

Required features: "android-view-View"

pub fn addView_View_LayoutParams<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]

addView

Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"

pub fn addView_View_int_LayoutParams<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>,
    arg1: i32,
    arg2: impl Into<Option<&'env ViewGroup_LayoutParams>>
) -> Result<(), Local<'env, Throwable>>
[src]

addView

Required features: "android-view-View", "android-view-ViewGroup_LayoutParams"

pub fn removeView<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeView

Required features: "android-view-View"

pub fn removeViewAt<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn removeAllViews<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn getSelectedItemPosition<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getSelectedItemId<'env>(
    &'env self
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn getSelectedView<'env>(
    &'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

getSelectedView

Required features: "android-view-View"

pub fn getSelectedItem<'env>(
    &'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

getSelectedItem

Required features: "java-lang-Object"

pub fn getCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getPositionForView<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getPositionForView

Required features: "android-view-View"

pub fn getFirstVisiblePosition<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getLastVisiblePosition<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setSelection<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setEmptyView<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View>>
) -> Result<(), Local<'env, Throwable>>
[src]

setEmptyView

Required features: "android-view-View"

pub fn getEmptyView<'env>(
    &'env self
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]

getEmptyView

Required features: "android-view-View"

pub fn setFocusable<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn setFocusableInTouchMode<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getItemAtPosition<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

getItemAtPosition

Required features: "java-lang-Object"

pub fn getItemIdAtPosition<'env>(
    &'env self,
    arg0: i32
) -> Result<i64, Local<'env, Throwable>>
[src]

pub fn setOnClickListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env View_OnClickListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setOnClickListener

Required features: "android-view-View_OnClickListener"

pub fn getAccessibilityClassName<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getAccessibilityClassName

Required features: "java-lang-CharSequence"

pub fn onProvideAutofillStructure<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ViewStructure>>,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

onProvideAutofillStructure

Required features: "android-view-ViewStructure"

pub const INVALID_POSITION: i32[src]

pub const INVALID_ROW_ID: i64[src]

pub const ITEM_VIEW_TYPE_IGNORE: i32[src]

Trait Implementations

impl AsJValue for AbsListView

impl AsRef<Filter_FilterListener> for AbsListView

impl AsRef<TextWatcher> for AbsListView

impl AsRef<ViewTreeObserver_OnGlobalLayoutListener> for AbsListView

impl AsRef<ViewTreeObserver_OnTouchModeChangeListener> for AbsListView

impl AsValidJObjectAndEnv for AbsListView

impl Deref for AbsListView

type Target = AdapterView

The resulting type after dereferencing.

impl JniType for AbsListView

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.