[−]Struct jni_android_sys::android::app::FragmentManager
public class FragmentManager
Required feature: android-app-FragmentManager
Methods
impl FragmentManager
pub fn new<'env>(__jni_env: &'env Env) -> Result<Local<'env, FragmentManager>>[src]
pub fn begin_transaction<'env>(
&'env self
) -> Result<Option<Local<'env, FragmentTransaction>>>[src]
&'env self
) -> Result<Option<Local<'env, FragmentTransaction>>>
Required features: "android-app-FragmentTransaction"
pub fn execute_pending_transactions<'env>(&'env self) -> Result<bool>[src]
pub fn find_fragment_by_id<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Fragment>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Fragment>>>
Required features: "android-app-Fragment"
pub fn find_fragment_by_tag<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Fragment>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Fragment>>>
Required features: "android-app-Fragment", "java-lang-String"
pub fn pop_back_stack<'env>(&'env self) -> Result<()>[src]
pub fn pop_back_stack_immediate<'env>(&'env self) -> Result<bool>[src]
pub fn pop_back_stack_string_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<()>
Required features: "java-lang-String"
pub fn pop_back_stack_immediate_string_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<bool>
Required features: "java-lang-String"
pub fn pop_back_stack_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<()>
pub fn pop_back_stack_immediate_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<bool>
pub fn get_back_stack_entry_count<'env>(&'env self) -> Result<i32>[src]
pub fn get_back_stack_entry_at<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentManager_BackStackEntry>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, FragmentManager_BackStackEntry>>>
Required features: "android-app-FragmentManager_BackStackEntry"
pub fn add_on_back_stack_changed_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env FragmentManager_OnBackStackChangedListener>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env FragmentManager_OnBackStackChangedListener>>
) -> Result<()>
Required features: "android-app-FragmentManager_OnBackStackChangedListener"
pub fn remove_on_back_stack_changed_listener<'env>(
&'env self,
arg0: impl Into<Option<&'env FragmentManager_OnBackStackChangedListener>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env FragmentManager_OnBackStackChangedListener>>
) -> Result<()>
removeOnBackStackChangedListener
Required features: "android-app-FragmentManager_OnBackStackChangedListener"
pub fn put_fragment<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Fragment>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Fragment>>
) -> Result<()>
Required features: "android-app-Fragment", "android-os-Bundle", "java-lang-String"
pub fn get_fragment<'env>(
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Fragment>>>[src]
&'env self,
arg0: impl Into<Option<&'env Bundle>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Fragment>>>
Required features: "android-app-Fragment", "android-os-Bundle", "java-lang-String"
pub fn get_fragments<'env>(&'env self) -> Result<Option<Local<'env, List>>>[src]
Required features: "java-util-List"
pub fn save_fragment_instance_state<'env>(
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, Fragment_SavedState>>>[src]
&'env self,
arg0: impl Into<Option<&'env Fragment>>
) -> Result<Option<Local<'env, Fragment_SavedState>>>
Required features: "android-app-Fragment", "android-app-Fragment_SavedState"
pub fn is_destroyed<'env>(&'env self) -> Result<bool>[src]
pub fn register_fragment_lifecycle_callbacks<'env>(
&'env self,
arg0: impl Into<Option<&'env FragmentManager_FragmentLifecycleCallbacks>>,
arg1: bool
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env FragmentManager_FragmentLifecycleCallbacks>>,
arg1: bool
) -> Result<()>
registerFragmentLifecycleCallbacks
Required features: "android-app-FragmentManager_FragmentLifecycleCallbacks"
pub fn unregister_fragment_lifecycle_callbacks<'env>(
&'env self,
arg0: impl Into<Option<&'env FragmentManager_FragmentLifecycleCallbacks>>
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env FragmentManager_FragmentLifecycleCallbacks>>
) -> Result<()>
unregisterFragmentLifecycleCallbacks
Required features: "android-app-FragmentManager_FragmentLifecycleCallbacks"
pub fn get_primary_navigation_fragment<'env>(
&'env self
) -> Result<Option<Local<'env, Fragment>>>[src]
&'env self
) -> Result<Option<Local<'env, Fragment>>>
Required features: "android-app-Fragment"
pub fn enable_debug_logging<'env>(
__jni_env: &'env Env,
arg0: bool
) -> Result<()>[src]
__jni_env: &'env Env,
arg0: bool
) -> Result<()>
pub fn invalidate_options_menu<'env>(&'env self) -> Result<()>[src]
pub fn is_state_saved<'env>(&'env self) -> Result<bool>[src]
pub const POP_BACK_STACK_INCLUSIVE: i32[src]
public static final POP_BACK_STACK_INCLUSIVE
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
impl Deref for FragmentManager
impl AsValidJObjectAndEnv for FragmentManager
impl AsJValue for FragmentManager
Auto Trait Implementations
impl !Sync for FragmentManager
impl Unpin for FragmentManager
impl !Send for FragmentManager
impl UnwindSafe for FragmentManager
impl RefUnwindSafe for FragmentManager
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,