diff --git a/doric-android/doric/src/main/java/pub/doric/shader/list/ListAdapter.java b/doric-android/doric/src/main/java/pub/doric/shader/list/ListAdapter.java index a6448275..28ef8a02 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/list/ListAdapter.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/list/ListAdapter.java @@ -82,8 +82,8 @@ class ListAdapter 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);