mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(listview): delegate handling removed from unloaded (#10138)
This commit is contained in:
@@ -287,11 +287,6 @@ export class ListView extends ListViewBase {
|
|||||||
this.ios.delegate = this._delegate;
|
this.ios.delegate = this._delegate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public onUnloaded() {
|
|
||||||
this.ios.delegate = null;
|
|
||||||
super.onUnloaded();
|
|
||||||
}
|
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
get ios(): UITableView {
|
get ios(): UITableView {
|
||||||
return this.nativeViewProtected;
|
return this.nativeViewProtected;
|
||||||
|
|||||||
Reference in New Issue
Block a user