Disable recycling of native views

createNativeView will set iOS nativeView if it is null/undefined
This commit is contained in:
Hristo Hristov
2017-03-28 18:08:39 +03:00
parent 84e726e6b9
commit e6250e718a
59 changed files with 112 additions and 97 deletions

View File

@@ -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;