Skip to content

Commit

Permalink
* [android] bug fix classcast exception
Browse files Browse the repository at this point in the history
  • Loading branch information
zshshr committed Sep 20, 2016
1 parent 59d6356 commit e399306
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public WXEmbed(WXSDKInstance instance, WXDomObject node, WXVContainer parent, bo
mListener = new EmbedRenderListener(this);

if(instance instanceof EmbedManager) {
String itemId = (String) node.getAttrs().get(ITEM_ID);
String itemId = node.getAttrs().get(ITEM_ID).toString();
((EmbedManager) instance).putEmbed(itemId, this);
}
}
Expand Down

0 comments on commit e399306

Please sign in to comment.