mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Disable recycling of native views
createNativeView will set iOS nativeView if it is null/undefined
This commit is contained in:
@@ -18,7 +18,6 @@ export function hasLaunched(): boolean {
|
||||
export { Observable };
|
||||
|
||||
import { UnhandledErrorEventData, iOSApplication, AndroidApplication, CssChangedEventData } from ".";
|
||||
import { NavigationEntry } from "../ui/frame";
|
||||
|
||||
export const launchEvent = "launch";
|
||||
export const suspendEvent = "suspend";
|
||||
@@ -30,10 +29,11 @@ export const orientationChangedEvent = "orientationChanged";
|
||||
|
||||
let cssFile: string = "app.css";
|
||||
|
||||
export let mainModule: string;
|
||||
export let mainEntry: NavigationEntry;
|
||||
let resources: any = {};
|
||||
|
||||
export let resources: any = {};
|
||||
export function getResources() {
|
||||
return resources;
|
||||
}
|
||||
|
||||
export function setResources(res: any) {
|
||||
resources = res;
|
||||
|
||||
Reference in New Issue
Block a user