UNPKG

1.67 kBTypeScriptView Raw
1import { NavigationTransition, BackstackEntry } from '.';
2
3/**
4 * @private
5 */
6export function _setAndroidFragmentTransitions(animated: boolean, navigationTransition: NavigationTransition, currentEntry: BackstackEntry, newEntry: BackstackEntry, frameId: number, fragmentTransaction: any, isNestedDefaultTransition?: boolean): void;
7/**
8 * @private
9 */
10export function _getAnimatedEntries(frameId: number): Set<BackstackEntry>;
11/**
12 * @private
13 * Called once fragment is recreated after it was destroyed.
14 * Reapply animations and transitions from entry to fragment if any.
15 */
16export function _updateTransitions(entry: BackstackEntry): void;
17/**
18 * @private
19 * Called once fragment is going to reappear from backstack.
20 * Reverse transitions from entry to fragment if any.
21 */
22export function _reverseTransitions(previousEntry: BackstackEntry, currentEntry: BackstackEntry): boolean;
23/**
24 * @private
25 * Called when entry is removed from backstack (either back navigation or
26 * navigate with clear history). Removes all animations and transitions from entry
27 * and fragment and clears all listeners in order to prevent memory leaks.
28 */
29export function _clearEntry(entry: BackstackEntry): void;
30/**
31 * @private
32 * Called when fragment is destroyed because activity is destroyed.
33 * Removes all animations and transitions but keeps them on the entry
34 * in order to reapply them when new fragment is created for the same entry.
35 */
36export function _clearFragment(entry: BackstackEntry): void;
37
38/**
39 * @private
40 * nativeTransition: androidx.transition.Transition
41 */
42export function addNativeTransitionListener(entry: any, nativeTransition: any): any;
43//@endprivate