[]Struct jni_android_sys::android::widget::SimpleExpandableListAdapter

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

public class SimpleExpandableListAdapter

Required feature: "android-widget-SimpleExpandableListAdapter"

Methods

impl SimpleExpandableListAdapter

pub fn new_Context_List_int_String_array_int_array_List_int_String_array_int_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env List>>,
    arg2: i32,
    arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg4: impl Into<Option<&'env IntArray>>,
    arg5: impl Into<Option<&'env List>>,
    arg6: i32,
    arg7: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg8: impl Into<Option<&'env IntArray>>
) -> Result<Local<'env, SimpleExpandableListAdapter>, Local<'env, Throwable>>
[src]

SimpleExpandableListAdapter

Required features: "android-content-Context", "java-lang-String", "java-util-List"

pub fn new_Context_List_int_int_String_array_int_array_List_int_String_array_int_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env List>>,
    arg2: i32,
    arg3: i32,
    arg4: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg5: impl Into<Option<&'env IntArray>>,
    arg6: impl Into<Option<&'env List>>,
    arg7: i32,
    arg8: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg9: impl Into<Option<&'env IntArray>>
) -> Result<Local<'env, SimpleExpandableListAdapter>, Local<'env, Throwable>>
[src]

SimpleExpandableListAdapter

Required features: "android-content-Context", "java-lang-String", "java-util-List"

pub fn new_Context_List_int_int_String_array_int_array_List_int_int_String_array_int_array<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env List>>,
    arg2: i32,
    arg3: i32,
    arg4: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg5: impl Into<Option<&'env IntArray>>,
    arg6: impl Into<Option<&'env List>>,
    arg7: i32,
    arg8: i32,
    arg9: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
    arg10: impl Into<Option<&'env IntArray>>
) -> Result<Local<'env, SimpleExpandableListAdapter>, Local<'env, Throwable>>
[src]

SimpleExpandableListAdapter

Required features: "android-content-Context", "java-lang-String", "java-util-List"

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

getChild

Required features: "java-lang-Object"

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

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

getChildView

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

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

newChildView

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

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

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

getGroup

Required features: "java-lang-Object"

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

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

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

getGroupView

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

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

newGroupView

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

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

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

Methods from Deref<Target = BaseExpandableListAdapter>

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

registerDataSetObserver

Required features: "android-database-DataSetObserver"

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

unregisterDataSetObserver

Required features: "android-database-DataSetObserver"

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

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

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

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

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

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

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

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

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

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

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

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

Trait Implementations

impl AsJValue for SimpleExpandableListAdapter

impl AsValidJObjectAndEnv for SimpleExpandableListAdapter

impl Deref for SimpleExpandableListAdapter

type Target = BaseExpandableListAdapter

The resulting type after dereferencing.

impl JniType for SimpleExpandableListAdapter

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.