[−]Struct jni_android_sys::android::widget::ArrayAdapter
public class ArrayAdapter
Required feature: "android-widget-ArrayAdapter"
Methods
impl ArrayAdapter
pub fn new_Context_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn new_Context_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn new_Context_int_Object_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-Object"
pub fn new_Context_int_int_Object_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-Object"
pub fn new_Context_int_List<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env List>>
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env List>>
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-util-List"
pub fn new_Context_int_int_List<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env List>>
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env List>>
) -> Result<Local<'env, ArrayAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-util-List"
pub fn add<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn addAll_Collection<'env>(
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Collection>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-Collection"
pub fn addAll_Object_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn insert<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn remove<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn clear<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn sort<'env>(
&'env self,
arg0: impl Into<Option<&'env Comparator>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Comparator>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-Comparator"
pub fn notifyDataSetChanged<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn setNotifyOnChange<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getContext<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getItem<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getPosition<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getItemId<'env>(
&'env self,
arg0: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i64, Local<'env, Throwable>>
pub fn getView<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View", "android-view-ViewGroup"
pub fn setDropDownViewResource<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setDropDownViewTheme<'env>(
&'env self,
arg0: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Resources_Theme>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Resources_Theme"
pub fn getDropDownViewTheme<'env>(
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>, Local<'env, Throwable>>
Required features: "android-content-res-Resources_Theme"
pub fn getDropDownView<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View", "android-view-ViewGroup"
pub fn createFromResource<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, ArrayAdapter>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, ArrayAdapter>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-widget-ArrayAdapter"
pub fn getFilter<'env>(
&'env self
) -> Result<Option<Local<'env, Filter>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Filter>>, Local<'env, Throwable>>
Required features: "android-widget-Filter"
pub fn getAutofillOptions<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<CharSequence, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<CharSequence, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
Methods from Deref<Target = BaseAdapter>
pub fn hasStableIds<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn registerDataSetObserver<'env>(
&'env self,
arg0: impl Into<Option<&'env DataSetObserver>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DataSetObserver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-DataSetObserver"
pub fn unregisterDataSetObserver<'env>(
&'env self,
arg0: impl Into<Option<&'env DataSetObserver>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DataSetObserver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-DataSetObserver"
pub fn notifyDataSetChanged<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn notifyDataSetInvalidated<'env>(
&'env self
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self
) -> Result<(), Local<'env, Throwable>>
pub fn areAllItemsEnabled<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn isEnabled<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn getDropDownView<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env View>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-view-View", "android-view-ViewGroup"
pub fn getItemViewType<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn getViewTypeCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn isEmpty<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn getAutofillOptions<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<CharSequence, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<CharSequence, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn setAutofillOptions<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<CharSequence, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<CharSequence, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
Trait Implementations
impl AsJValue for ArrayAdapter
impl AsRef<Filterable> for ArrayAdapter
fn as_ref(&self) -> &Filterable
impl AsRef<ThemedSpinnerAdapter> for ArrayAdapter
fn as_ref(&self) -> &ThemedSpinnerAdapter
impl AsValidJObjectAndEnv for ArrayAdapter
impl Deref for ArrayAdapter
impl JniType for ArrayAdapter
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ArrayAdapter
impl !Send for ArrayAdapter
impl !Sync for ArrayAdapter
impl Unpin for ArrayAdapter
impl UnwindSafe for ArrayAdapter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,