mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
44 lines
1.6 KiB
TypeScript
44 lines
1.6 KiB
TypeScript
import { NavigationTransition, BackstackEntry } from '.';
|
|
|
|
/**
|
|
* @private
|
|
*/
|
|
export function _setAndroidFragmentTransitions(animated: boolean, navigationTransition: NavigationTransition, currentEntry: BackstackEntry, newEntry: BackstackEntry, frameId: number, fragmentTransaction: any, isNestedDefaultTransition?: boolean): void;
|
|
/**
|
|
* @private
|
|
*/
|
|
export function _getAnimatedEntries(frameId: number): Set<BackstackEntry>;
|
|
/**
|
|
* @private
|
|
* Called once fragment is recreated after it was destroyed.
|
|
* Reapply animations and transitions from entry to fragment if any.
|
|
*/
|
|
export function _updateTransitions(entry: BackstackEntry): void;
|
|
/**
|
|
* @private
|
|
* Called once fragment is going to reappear from backstack.
|
|
* Reverse transitions from entry to fragment if any.
|
|
*/
|
|
export function _reverseTransitions(previousEntry: BackstackEntry, currentEntry: BackstackEntry): boolean;
|
|
/**
|
|
* @private
|
|
* Called when entry is removed from backstack (either back navigation or
|
|
* navigate with clear history). Removes all animations and transitions from entry
|
|
* and fragment and clears all listeners in order to prevent memory leaks.
|
|
*/
|
|
export function _clearEntry(entry: BackstackEntry): void;
|
|
/**
|
|
* @private
|
|
* Called when fragment is destroyed because activity is destroyed.
|
|
* Removes all animations and transitions but keeps them on the entry
|
|
* in order to reapply them when new fragment is created for the same entry.
|
|
*/
|
|
export function _clearFragment(entry: BackstackEntry): void;
|
|
|
|
/**
|
|
* @private
|
|
* nativeTransition: androidx.transition.Transition
|
|
*/
|
|
export function addNativeTransitionListener(entry: any, nativeTransition: any): any;
|
|
//@endprivate
|