diff --git a/doric-android/doric/src/main/java/pub/doric/shader/flowlayout/FlowAdapter.java b/doric-android/doric/src/main/java/pub/doric/shader/flowlayout/FlowAdapter.java index cbe3d7c4..6e4261ff 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/flowlayout/FlowAdapter.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/flowlayout/FlowAdapter.java @@ -102,8 +102,8 @@ class FlowAdapter extends RecyclerView.Adapter { } JSValue value = getItemModel(position); if (value != null && value.isObject()) { - if (value.asObject().getProperty("identifier").isString()) { - return value.asObject().getProperty("identifier").asString().value().hashCode(); + if (value.asObject().getProperty("props").asObject().getProperty("identifier").isString()) { + return value.asObject().getProperty("props").asObject().getProperty("identifier").asString().value().hashCode(); } } return super.getItemViewType(position);