[−]Struct jni_android_sys::android::widget::CursorAdapter
public class CursorAdapter
Required feature: "android-widget-CursorAdapter"
Methods
impl CursorAdapter
pub fn new_Context_Cursor<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Cursor>>
) -> Result<Local<'env, CursorAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Cursor>>
) -> Result<Local<'env, CursorAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-database-Cursor"
pub fn new_Context_Cursor_boolean<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Cursor>>,
arg2: bool
) -> Result<Local<'env, CursorAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Cursor>>,
arg2: bool
) -> Result<Local<'env, CursorAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-database-Cursor"
pub fn new_Context_Cursor_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Cursor>>,
arg2: i32
) -> Result<Local<'env, CursorAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Cursor>>,
arg2: i32
) -> Result<Local<'env, CursorAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-database-Cursor"
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 getCursor<'env>(
&'env self
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor"
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 getItemId<'env>(
&'env self,
arg0: i32
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i64, Local<'env, Throwable>>
pub fn hasStableIds<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
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 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 newView<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Cursor>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Cursor>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-database-Cursor", "android-view-View", "android-view-ViewGroup"
pub fn newDropDownView<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Cursor>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Cursor>>,
arg2: impl Into<Option<&'env ViewGroup>>
) -> Result<Option<Local<'env, View>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-database-Cursor", "android-view-View", "android-view-ViewGroup"
pub fn bindView<'env>(
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Context>>,
arg2: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env View>>,
arg1: impl Into<Option<&'env Context>>,
arg2: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Context", "android-database-Cursor", "android-view-View"
pub fn changeCursor<'env>(
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-Cursor"
pub fn swapCursor<'env>(
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor"
pub fn convertToString<'env>(
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Cursor>>
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "java-lang-CharSequence"
pub fn runQueryOnBackgroundThread<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, Cursor>>, Local<'env, Throwable>>
Required features: "android-database-Cursor", "java-lang-CharSequence"
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 getFilterQueryProvider<'env>(
&'env self
) -> Result<Option<Local<'env, FilterQueryProvider>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, FilterQueryProvider>>, Local<'env, Throwable>>
Required features: "android-widget-FilterQueryProvider"
pub fn setFilterQueryProvider<'env>(
&'env self,
arg0: impl Into<Option<&'env FilterQueryProvider>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FilterQueryProvider>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-FilterQueryProvider"
pub const FLAG_AUTO_REQUERY: i32
[src]
public static final FLAG_AUTO_REQUERY
pub const FLAG_REGISTER_CONTENT_OBSERVER: i32
[src]
public static final FLAG_REGISTER_CONTENT_OBSERVER
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 CursorAdapter
impl AsRef<Filterable> for CursorAdapter
fn as_ref(&self) -> &Filterable
impl AsRef<ThemedSpinnerAdapter> for CursorAdapter
fn as_ref(&self) -> &ThemedSpinnerAdapter
impl AsValidJObjectAndEnv for CursorAdapter
impl Deref for CursorAdapter
impl JniType for CursorAdapter
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for CursorAdapter
impl !Send for CursorAdapter
impl !Sync for CursorAdapter
impl Unpin for CursorAdapter
impl UnwindSafe for CursorAdapter
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>,