[]Struct jni_android_sys::android::widget::ExpandableListView

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

public class ExpandableListView

Required feature: "android-widget-ExpandableListView"

Methods

impl ExpandableListView

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

ExpandableListView

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, ExpandableListView>, Local<'env, Throwable>>
[src]

ExpandableListView

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, ExpandableListView>, Local<'env, Throwable>>
[src]

ExpandableListView

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, ExpandableListView>, Local<'env, Throwable>>
[src]

ExpandableListView

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

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

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

setChildDivider

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

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 getAdapter<'env>(
    &'env self
) -> Result<Option<Local<'env, ListAdapter>>, Local<'env, Throwable>>
[src]

getAdapter

Required features: "android-widget-ListAdapter"

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 setAdapter_ExpandableListAdapter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ExpandableListAdapter>>
) -> Result<(), Local<'env, Throwable>>
[src]

setAdapter

Required features: "android-widget-ExpandableListAdapter"

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

getExpandableListAdapter

Required features: "android-widget-ExpandableListAdapter"

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 expandGroup_int<'env>(
    &'env self,
    arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]

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

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

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

setOnGroupCollapseListener

Required features: "android-widget-ExpandableListView_OnGroupCollapseListener"

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

setOnGroupExpandListener

Required features: "android-widget-ExpandableListView_OnGroupExpandListener"

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

setOnGroupClickListener

Required features: "android-widget-ExpandableListView_OnGroupClickListener"

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

setOnChildClickListener

Required features: "android-widget-ExpandableListView_OnChildClickListener"

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

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

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

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

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

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

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

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

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

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

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

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

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

setChildIndicator

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

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

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

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

setGroupIndicator

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

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

pub fn setIndicatorBoundsRelative<'env>(
    &'env self,
    arg0: i32,
    arg1: i32
) -> 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 getAccessibilityClassName<'env>(
    &'env self
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]

getAccessibilityClassName

Required features: "java-lang-CharSequence"

pub const CHILD_INDICATOR_INHERIT: i32[src]

public static final CHILD_INDICATOR_INHERIT

pub const PACKED_POSITION_TYPE_CHILD: i32[src]

public static final PACKED_POSITION_TYPE_CHILD

pub const PACKED_POSITION_TYPE_GROUP: i32[src]

public static final PACKED_POSITION_TYPE_GROUP

pub const PACKED_POSITION_TYPE_NULL: i32[src]

public static final PACKED_POSITION_TYPE_NULL

pub const PACKED_POSITION_VALUE_NULL: i64[src]

public static final PACKED_POSITION_VALUE_NULL

Methods from Deref<Target = ListView>

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

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

addHeaderView

Required features: "android-view-View", "java-lang-Object"

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

addHeaderView

Required features: "android-view-View"

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

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

removeHeaderView

Required features: "android-view-View"

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

addFooterView

Required features: "android-view-View", "java-lang-Object"

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

addFooterView

Required features: "android-view-View"

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

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

removeFooterView

Required features: "android-view-View"

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

getAdapter

Required features: "android-widget-ListAdapter"

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 setAdapter_ListAdapter<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ListAdapter>>
) -> Result<(), Local<'env, Throwable>>
[src]

setAdapter

Required features: "android-widget-ListAdapter"

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

requestChildRectangleOnScreen

Required features: "android-graphics-Rect", "android-view-View"

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

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

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

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

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

dispatchKeyEvent

Required features: "android-view-KeyEvent"

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 onKeyMultiple<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: impl Into<Option<&'env KeyEvent>>
) -> Result<bool, Local<'env, Throwable>>
[src]

onKeyMultiple

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 setItemsCanFocus<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

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

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

getDivider

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

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

setDivider

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

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

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

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

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

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

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

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

setOverscrollHeader

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

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

getOverscrollHeader

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

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

setOverscrollFooter

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

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

getOverscrollFooter

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

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

Deprecated

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

getAccessibilityClassName

Required features: "java-lang-CharSequence"

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"

Trait Implementations

impl AsJValue for ExpandableListView

impl AsValidJObjectAndEnv for ExpandableListView

impl Deref for ExpandableListView

type Target = ListView

The resulting type after dereferencing.

impl JniType for ExpandableListView

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.