[−]Struct jni_android_sys::android::widget::SimpleCursorAdapter
public class SimpleCursorAdapter
Required feature: "android-widget-SimpleCursorAdapter"
Methods
impl SimpleCursorAdapter
pub fn new_Context_int_Cursor_String_array_int_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Cursor>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env IntArray>>
) -> Result<Local<'env, SimpleCursorAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Cursor>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env IntArray>>
) -> Result<Local<'env, SimpleCursorAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-database-Cursor", "java-lang-String"
pub fn new_Context_int_Cursor_String_array_int_array_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Cursor>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env IntArray>>,
arg5: i32
) -> Result<Local<'env, SimpleCursorAdapter>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>,
arg1: i32,
arg2: impl Into<Option<&'env Cursor>>,
arg3: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg4: impl Into<Option<&'env IntArray>>,
arg5: i32
) -> Result<Local<'env, SimpleCursorAdapter>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-database-Cursor", "java-lang-String"
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 getViewBinder<'env>(
&'env self
) -> Result<Option<Local<'env, SimpleCursorAdapter_ViewBinder>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SimpleCursorAdapter_ViewBinder>>, Local<'env, Throwable>>
Required features: "android-widget-SimpleCursorAdapter_ViewBinder"
pub fn setViewBinder<'env>(
&'env self,
arg0: impl Into<Option<&'env SimpleCursorAdapter_ViewBinder>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SimpleCursorAdapter_ViewBinder>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-SimpleCursorAdapter_ViewBinder"
pub fn setViewImage<'env>(
&'env self,
arg0: impl Into<Option<&'env ImageView>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ImageView>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-ImageView", "java-lang-String"
pub fn setViewText<'env>(
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TextView>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-TextView", "java-lang-String"
pub fn getStringConversionColumn<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setStringConversionColumn<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getCursorToStringConverter<'env>(
&'env self
) -> Result<Option<Local<'env, SimpleCursorAdapter_CursorToStringConverter>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SimpleCursorAdapter_CursorToStringConverter>>, Local<'env, Throwable>>
Required features: "android-widget-SimpleCursorAdapter_CursorToStringConverter"
pub fn setCursorToStringConverter<'env>(
&'env self,
arg0: impl Into<Option<&'env SimpleCursorAdapter_CursorToStringConverter>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SimpleCursorAdapter_CursorToStringConverter>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-widget-SimpleCursorAdapter_CursorToStringConverter"
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 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 changeCursorAndColumns<'env>(
&'env self,
arg0: impl Into<Option<&'env Cursor>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Cursor>>,
arg1: impl Into<Option<&'env ObjectArray<String, Throwable>>>,
arg2: impl Into<Option<&'env IntArray>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-database-Cursor", "java-lang-String"
Methods from Deref<Target = ResourceCursorAdapter>
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 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 setViewResource<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setDropDownViewResource<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Trait Implementations
impl AsJValue for SimpleCursorAdapter
impl AsValidJObjectAndEnv for SimpleCursorAdapter
impl Deref for SimpleCursorAdapter
type Target = ResourceCursorAdapter
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for SimpleCursorAdapter
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SimpleCursorAdapter
impl !Send for SimpleCursorAdapter
impl !Sync for SimpleCursorAdapter
impl Unpin for SimpleCursorAdapter
impl UnwindSafe for SimpleCursorAdapter
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>,