Commit 3d998dc4 authored by justin's avatar justin Committed by GitHub

Merge pull request #474 from MrThanksgiving/feature/flutter_1.9_upgrade

FlutterViewContainerManager mOnResults 关联错误修复。
parents 7422c7c1 b45bdf57
......@@ -135,8 +135,10 @@ public class FlutterViewContainerManager implements IContainerManager {
final String uniqueId = ContainerRecord.genUniqueId(url);
urlParams.put(IContainerRecord.UNIQ_KEY,uniqueId);
IContainerRecord currentTopRecord = getCurrentTopRecord();
if(onResult != null) {
mOnResults.put(uniqueId,onResult);
mOnResults.put(currentTopRecord.uniqueId(),onResult);
}
NewFlutterBoost.instance().platform().openContainer(context,url,urlParams,requestCode,exts);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment