mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
rename:
_createNativeView to createNativeView; _initNativeView to initNativeView _disposeNativeView to disposeNativeView _resetNativeView to resetNativeView
This commit is contained in:
@@ -82,7 +82,7 @@ export class Image extends ImageBase {
|
||||
public decodeHeight = 0;
|
||||
public useCache = true;
|
||||
|
||||
public _createNativeView() {
|
||||
public createNativeView() {
|
||||
initializeImageLoadedListener();
|
||||
if (!imageFetcher) {
|
||||
initImageCache(this._context);
|
||||
@@ -96,11 +96,11 @@ export class Image extends ImageBase {
|
||||
return imageView;
|
||||
}
|
||||
|
||||
public _initNativeView(): void {
|
||||
public initNativeView(): void {
|
||||
(<any>this.nativeView).listener.owner = this;
|
||||
}
|
||||
|
||||
public _disposeNativeView() {
|
||||
public disposeNativeView() {
|
||||
(<any>this.nativeView).listener.owner = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user