mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
fix(android): nested frames were sometimes not recreated (#9725)
BREAKING CHANGE: AndroidFragmentCallbacks now requires onResume as well Migration steps: specify onResume on custom fragment implementations
This commit is contained in:

committed by
Nathan Walker

parent
638388244e
commit
902a4c6afc
@ -19,6 +19,10 @@ const FragmentClass = (<any>org.nativescript.widgets.FragmentBase).extend('com.t
|
||||
this._callbacks.onPause(this, superProto.onPause);
|
||||
},
|
||||
|
||||
onResume(): void {
|
||||
this._callbacks.onResume(this, superProto.onResume);
|
||||
},
|
||||
|
||||
onCreate(savedInstanceState: android.os.Bundle) {
|
||||
if (!this._callbacks) {
|
||||
setFragmentCallbacks(this);
|
||||
|
Reference in New Issue
Block a user